Michael
Michael
If you use an object that contains a buffer (for example _id coming from MongoDB), calling methods like `toString` crash with the error "TypeError: argument must be a buffer". Here...
Simple example: ``` const user = await Cache.remember('cachekey', 1000, async () => { return await User.find(1) }) return response.json({ user: user.toJSON() }) ``` **Problem** As soon as I call `user.toJSON()`,...
Addresses https://github.com/nvm-sh/nvm/issues/3041 This bypasses the "guess" work for which "architecture" of node.js to use. It was already possible to specify a custom mirror like mentioned here https://github.com/nvm-sh/nvm/issues/3175#issuecomment-1694759072, but without the...
This makes it possible to use access testrail behind a proxy.
https://adonisjs.com/docs/4.1/query-builder#_whereexists The example for `whereExists` goes like this ``` await Database.from('users').whereExists(function () { this.from('accounts').where('users.id', 'accounts.user_id') }) ``` But this has the following output ``` select * from `users` where exists...
The relevant PR can be found here: https://github.com/adonisjs/adonis-lucid/pull/494
Testing with Adonis is amazingly simple, however, the docs are not really explaining much about its capabilities. The only reason I know of them is because I have experience working...
## Proposed changes Testing a single file currently requires you to specify the entire file name, including the file extension. E.g. ```bash adonis test -f 'UserService.spec.js' ``` With this fix...
## Proposed changes Currently, to use the "DatabaseTransactions" trait you need to add it to each test. But chances are, if you use it in one test, you likely need...
## Proposed changes Imagine a test like this ```javascript test('can create threads', async ({ client }) => { const response = await client.post('/threads').send({ title: 'test title', body: 'body', }).end() response.assertStatus(200)...