nexus-plugin-prisma
nexus-plugin-prisma copied to clipboard
Deprecated
I was expecting to be able to use "Offset pagination" as described here: https://www.prisma.io/docs/reference/tools-and-interfaces/prisma-client/pagination But I only see support for cursor based pagination. I am missing something?
My `t.crud.upsertOneXXXX` and `t.crud.deleteOneXXXX` operations are throwing this error: ``` TypeError: Cannot convert undefined or null to object at Function.keys () at addGloballyComputedInputs (...\node_modules\nexus-prisma\src\dmmf\transformer.ts:146:17) at Object.addComputedInputs (...\node_modules\nexus-prisma\src\dmmf\transformer.ts:177:10) at resolve (...\node_modules\nexus-prisma\src\builder.ts:301:28)...
the pagination argument like `first` and `last` in relay pagination strategy or `skip` and `take` in prisma pagination strategy are required when I specified ``` nonNullDefaults: { input: true, output:...
kind of similar to graphql-nexus/nexus#69 but there where some major changes since then so I don't know if commenting on this issue makes sense. My question: Is it possible to...
If I specify something like this: ```typescript t.crud.sites({ filtering: { AND: true, OR: true, domain: true, createdAt: true, updatedAt: true, }, }); ``` TypeScript says this is fine, but I...
How can I use t.crud() for model writes and exclude some fields? E.g.: - the id field which sould always be set by database only - a protected field which...
for example , I have this prisma model ```prisma model User { id String @default(cuid()) @id email String @unique password String eventFollow Event[] } model Event { eventId String @default(cuid())...
I like the approach to white listen fields in ObjectTypes, why do InputObjectTypes includes all fields? For now I have to rewrite all InputTypes: ``` import {inputObjectType} from "nexus"; export...
When I add a connected type I get the following error from Typescript: ``` An argument for 'opts' was not provided. ``` Here's an example of the code: ``` const...