DEV Community

Discussion on: GraphQL Basics: Part 2 - Prisma (The How)

Collapse
 
armaandh profile image
Armaan Dhanji • Edited

Hey Ryan! I absolutely love your Prisma series, and how easy it is to follow. I'm eagerly awaiting your next post. One note...With the new apollo server2 making graphql-yoga somewhat irrelevant (since yoga was created on top on apollo server back when things were hard to set up), prisma is working on yoga2 (and is for sure not at all production ready). Would you consider using Apollo Server 2 instead of graphql-yoga for your guide? Or do you think graphql-yoga still has merit. Curious on your thoughts. Thanks!

Collapse
 
doylecodes profile image
Ryan Doyle

Thanks for asking! I think I’ll look into this. I have not done anything with Apollo Server, but I was eventually going to get into using Apollo client, so that does sound like a better option. Thanks for the suggestion! Maybe I’ll do both...

Collapse
 
doylecodes profile image
Ryan Doyle

So, looks like from what I can see that Apollo Server 2 fits the bill now for what GraphQL-yoga did. I did in fact write part 3 using Apollo instead of yoga and it seemed very similar. I’m sure someone much more knowledgeable in each could better give pros/cons for each but for what I knew with yoga, it seems like going the Apollo Server route now is easier.