A question about Nexus, how can I remove fields fr...
# orm-help
s
A question about Nexus, how can I remove fields from a auto generated mutation from a prisma model, i.e.
Copy code
schema.mutationType({
  definition(t) {
    t.crud.createOneUser()
  },
})
But I don't want the option of specifying the users id in the mutation.
👍 1
n
I believe you currently can't modify the generated input types for
t.crud
operations, would you mind opening an issue with a feature request for this here: https://github.com/graphql-nexus/nexus-schema-plugin-prisma? 🙂