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
Why Am I still getting field _count as non-nullable in Graphql?
It is a source of multiple errors on the consumer side that the types are incompatible between each other:
The types of 'document.address.city' are incompatible between these types.
Property '_count' is missing in type '{ __typename?: "City"; id: any; value: string; createdAt: any; updatedAt: any; archivedAt?: any; }' but required in type 'City'
``
I would appreciate any hint how to deal with that. Thank You in advance.
The text was updated successfully, but these errors were encountered:
Hi,
I have such simple Prisma shema (I set omitModelsCount=true)
when I use
prisma-nestjs-graphql
generator I am getting:Why Am I still getting field
_count
as non-nullable in Graphql?It is a source of multiple errors on the consumer side that the types are incompatible between each other:
The text was updated successfully, but these errors were encountered: