There are several amazing GraphQL engines like Hasura which have support for multiple types of datasources. It would be great if SpaceCloud could federate remote graphql sources.
How can we solve it?
Create a Graphql source for the Graphql provider.
This source will be responsible for:
Fetching the graphql schema of a remote graphql source via instrospection (over http)
Extract the type system of the remote graphql source
Provide dataloader mechanism to solve the n+1 problem which can arise when performing on-the-fly joins
Implement a resolver to query the upstream graphql source.
If you want this feature to be implemented, give it a thumbs up reaction, so that we can determine which features are important to you.
👍
The problem faced currently?
There are several amazing GraphQL engines like Hasura which have support for multiple types of datasources. It would be great if SpaceCloud could federate remote graphql sources.
How can we solve it?
Create a Graphql source for the Graphql provider.
This source will be responsible for: