DEV Community

Discussion on: Schema-first or Code-first in GraphQL

Collapse
 
franciscomendes10866 profile image
Francisco Mendes

Thanks! Yes you are absolutely right! ✌️

But I think Prisma and TypeORM would be an exception if you used TypeGraphql, in Prisma's case the graphql schema would be generated according to Prisma's schema. Whereas with TypeORM you would use entities as a base without needing to define your schema.