DEV Community

Discussion on: Has anyone used Apollo Server 2 w/ Prisma?

Collapse
 
renaud009 profile image
Renaud Hébert-Legault • Edited

Currently working with both apollo server and prisma. Those two technologies are complementary and awesome.

I use Prisma as the ORM layer that facilitates (autogen) communication with the DB while providing crazy advanced queries, mutations and search/filtering inputs for all entities.

Then I use Apollo Server 2 to act as a middleware layer that validate permissions which are in an external REST service. My apollo server also offers some more custom queries and mutations that call Prisma or some other services, such queries and resolvers are stitched into a single massive schema.