When using pal.js cli to autogenerate frontend .graphql with generator set as nexus, the return type for the deleteOne mutation is always set to be the field id instead of the graphql fragment for the model that the mutaion is removing
Example:
mutation deleteOneUser($where: UserWhereUniqueInput!) { deleteOneUser(where: $where) { id } }
This brakes mutations where the field [id] isnt present in the underlying model
When using pal.js cli to autogenerate frontend .graphql with generator set as nexus, the return type for the deleteOne mutation is always set to be the field id instead of the graphql fragment for the model that the mutaion is removing Example:
mutation deleteOneUser($where: UserWhereUniqueInput!) { deleteOneUser(where: $where) { id } }
This brakes mutations where the field [id] isnt present in the underlying model