Conversation
f8bd14a to
c427408
Compare
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. Latest deployment of this branch, based on commit 85b2a1d:
|
c6501c3 to
336db68
Compare
|
Although this pull request removes the internal As reported in the following issues to prisma:
To prevent broken behaviour, especially in our tests, we need Prisma to internally queue the sqlite "connections". |
9c55746 to
8ba1162
Compare
81d7401 to
4c00768
Compare
| if (x === true) return 'True' | ||
| if (x === false) return 'False' | ||
| return 'Undefined' | ||
| if (x === true) return 'T' |
There was a problem hiding this comment.
Shortened the strings to work within database limitations
| async findMany () { | ||
| return [{ id: 'mock' }] | ||
| } | ||
| } |
There was a problem hiding this comment.
This is incompatible with how we are using Prisma now, and probably Prisma 5 too
9b3fa77 to
33eaa7e
Compare
| for (const create of [undefined, 'create']) { | ||
| for (const update of [undefined, 'update']) { | ||
| for (const _delete of [undefined, 'delete']) { | ||
| const omit = [query, create, update, _delete].filter(x => x) as ListConfig['omit'] |
There was a problem hiding this comment.
This was completely broken
33eaa7e to
85b2a1d
Compare
This pull request should remove the use of
p-limitinternally for limitingPrismaengine operations.prisma/prisma#2955 has been resolved, and - at least as documented - this was the only reason this approach was taken.