Skip to end of metadata
Go to start of metadata
You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
Version 1
Next »
GraphQL
Courses
Tried and tested
- Coursera's Journey to GraphQL
- To build an automated translation layer from REST APIs to GraphQL (with GraphQL schema rebuilt every 5mns):
- Each service in their infrastructure was able to dynamically provide a list of REST resources running on it.
- For each of those resources, they introspected the list of endpoints and arguments (i.e. a course endpoint would have a fetch by id, or lookup by instructor).
- Received Pegasus Schemas, defined by their Courier schema language for each model returned.
- To relate resources between services/endpoints:
- developers annotated resources and relations