You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is extendType expected to support extending custom types? I am trying to do this:
exportconstUser=objectType({name: 'User',description: 'Represents a User.',definition(t){t.implements(Node)},})exportconstAddInbox=extendType({type: 'User',definition(t){// ...}})
But TypeScript complains:
Type 'NexusObjectTypeDef<"User">' is not assignable to type '"Query" | "Mutation"'. Type 'NexusObjectTypeDef<"User">' is not assignable to type '"Mutation"'.
The text was updated successfully, but these errors were encountered:
Is
extendType
expected to support extending custom types? I am trying to do this:But TypeScript complains:
The text was updated successfully, but these errors were encountered: