←back to thread

153 points michaelanckaert | 2 comments | | HN request time: 0.618s | source
Show context
crabmusket ◴[] No.23488357[source]
> Another (potential) advantage of GraphQL is the ability to compose many different APIs into a single, federated GraphQL schema.

If anyone else can share experiences of this sort of problems and solution, I'd be really interested to hear it. I've written non-GQL APIs before that back onto other internal and external services; what am I missing?

replies(2): >>23488403 #>>23491138 #
1. maddyboo ◴[] No.23488403[source]
I think Drew is referring to composition in terms of API end-user code, not sr.ht code, e.g. making it possible for the user write a single GQL query that combines data from multiple sr.ht services.
replies(1): >>23495197 #
2. crabmusket ◴[] No.23495197[source]
Ah, I think that makes a little more sense. Thanks!