DEV Community

Discussion on: Is Code Generation a Bad Idea? 🤔

Collapse
 
moofoo profile image
Nathan Cook

One “gotcha” with generating your frontend graphql api code for a prisma backend is that you really don’t want to expose the full capability of prisma to query your data to the public internet, for obvious reasons, and if one is just following tutorials and copying boilerplate that’s what you often end up with.

This isn’t the fault of code generation itself, of course.