nexus-plugin-prisma
nexus-plugin-prisma copied to clipboard
Deprecated
Our team is using the node server and serverless. We look at the same DB and try to use one library by using prisma + nexus-prisma-plugin. But, try to use...
I was able to connect to multiple DBs with Prisma 1 and Nexus, but just creating multiple clients and then merging them all into the schema, however I haven't figure...
**given the following schema:** ``` model User { id Int @id @default(autoincrement()) email String name String uid String groups GroupMembership[] created_at DateTime @default(now()) updated_at DateTime @default(now()) instances ObjectInstance[] status Int...
The CRUD implementation should expose a way to convert `null | undefined` to `undefined`. This would be useful especially for situations where we want to directly pass a `where` query....
### INTRODUCTION Everything was working in "**nexus-plugin-prisma**": "**0.16.1**" and problem appeared in all next versions. ### ERROR ``` /home/user/projects/node_modules/nexus-plugin-prisma/dist/schema/dmmf/utils.js:14 throw new Error(`\ ^ Error: You most likely forgot to initialize...
Problem: I generated a prisma.graphql and the operation input is different with the old version, suppose the operation input of old version is correct. old version operation input of `prisma.graphql`:...
First thing I came up with, is by calling `computedInputs` in the `nexusPrisma` option. But it won't work since they need to be handled differently depending on the situation, but...
Version used: 0.24.0 For some weird reason I can't seem to explain just yet, the batchRead query isn't properly named during compilation when my object is named 'equipment', but works...
Not sure if this is a feature or bug? 🙃 ```prisma model User { phoneNumber String @unique emailAddress String? @unique } ``` ```js objectType({ name: 'User', definition(t) { t.model.phoneNumber() t.model.emailAddress()...
After the upgrade to `0.25.0` I get a lot of type problems, like this one: ``` (property) tags?: string | Prisma.ClientCreatetagsInput | string[] Type '{ set?: string[]; }' is not...