News for hackers. Stuff that matters.
Re:GraphQL kinda sucks by gabereiser on Saturday August 06, 2022 @09:30AM (#32367913)
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.

Re:GraphQL kinda sucks by vlod on Saturday August 06, 2022 @11:09AM (#32368772)
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

Re:GraphQL kinda sucks by gabereiser on Saturday August 06, 2022 @04:20PM (#32371240)
Not everything is a graphql api
Re:GraphQL kinda sucks by soccersofia15 on Saturday August 06, 2022 @12:46PM (#32369608)
Same! We’ve been using WunderGraph to help with schema stitching and integrating other data sources
Re:GraphQL kinda sucks by locutous on Saturday August 06, 2022 @10:45AM (#32368544)
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.

Re:GraphQL kinda sucks by PUSH_AX on Saturday August 06, 2022 @09:56AM (#32368114)
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.