by nerdponx · 4y ago · 0 comments
> This does not work with Fastify and Prisma
The point of Prisma is that it generates types for you from the Prisma schema, right? Are the generated types not interchangeable throughout the application?
Fair point about expressiveness, but if your data must cross application boundaries then you are somewhat limited in expressiveness no matter what, because your types need to be understood by arbitrary clients.
Lack of generics is pretty annoying though. It's probably my biggest annoyance with GraphQL.
Prisma's DSL has no syntax for validation constraints, so even with openAPI generators it's incomplete.