prisma-tools icon indicating copy to clipboard operation
prisma-tools copied to clipboard

Update the aggregate resolver return type

Open f8k8 opened this issue 1 year ago • 0 comments

The resolver's return type doesn't quite match the return type from Prisma. Prisma's fields are optional (e.g. _count?), but the resolver's type doesn't have the fields as optional, which causes an error when compiling. This PR changes the aggregate resolver return type to match Prisma's.

Fixes #323

f8k8 avatar Feb 14 '24 17:02 f8k8