omar-dulaimi / prisma-trpc-generator

Prisma 2+ generator to emit fully implemented tRPC routers
MIT License
676 stars 34 forks source link

Fix Zod Object Schema for findRaw and aggregateRaw in router imports #82

Open ManyClem opened 1 year ago

ManyClem commented 1 year ago

Description

Fixes an issue when generating aggregateRaw and findRaw object schema imports.

Tested using MongoDB Adapter.

References

Fix for #76

ManyClem commented 1 year ago

I know it's not an elegant solution, but it seems to do the trick. :)