chrishoermann/zod-prisma-types

[BUG] no exported type for AggregateArgs

Closed this issue · 1 comments

Describe the bug
There's no exported type for Aggregate but there is one for AggregateRaw not sure if they're the same.

Screenshots
CleanShot 2024-12-10 at 12 28 03@2x
CleanShot 2024-12-10 at 12 28 18@2x

Package versions (please complete the following information):

  • zod: 3.23.8
  • prisma: 6.0.1

Additional context
Think this is a mongo specific issue

Apologies, the model was lowercase. Changing it from apiKey -> ApiKey fixed the issue.