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.
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: