Assembling a GraphQL API from Various Data Sources - REST, SQL, NoSQL, SOAP/XML, GraphQL
The concept of a graph-of-graphs is core to how GraphQL is implemented in StepZen. Each subgraph is built by either letting StepZen introspect the backend and generate the schema, or by writing your schema using simple declarative resolvers -
@graphql. The subgraphs are connected into one graph using
@materializer. We demonstrate this here in the partial build-out of an e-commerce GraphQL API.
For an overview to StepZen's approach to Federation, see How to Federate Graphs in StepZen.