Hacker News new | past | comments | ask | show | jobs | submit login

I tried graphql in a microservices environment and had huge headaches over schema stitching.

Turns out, if you have lots of objects from disparate sources, graphql don’t like that. Now you must stitch these schemas together into an über schema roll query and use with graphql. Maybe we missed a step. Maybe we misunderstood. Maybe it was a bad decision.




I think Apollo Federation is for that: https://www.apollographql.com/docs/federation/

Worth watching some youtube tutorial videos. Here's one I watched recently (~26mins): https://www.youtube.com/watch?v=v_1bn2sHdk4


Not everything is a graphql api


Same! We’ve been using WunderGraph to help with schema stitching and integrating other data sources


I used graphql at one place and our stitching was a disaster. I'm thinking bad decision.

We also had micro services. It was the most unstable backend I've ever worked with.

Yet the architects who picked all these techs were mostly lauded and didn't stick around to deal with the mess.


And good luck doing that in a language that isn’t JS. All our GQL services were Go, but were forced to use JS for any stitching needs.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: