Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buildClientSchema implementation #541

Open
SafeEval opened this issue May 7, 2020 · 2 comments
Open

buildClientSchema implementation #541

SafeEval opened this issue May 7, 2020 · 2 comments

Comments

@SafeEval
Copy link

SafeEval commented May 7, 2020

The reference implementation of GraphQL has a utility function, buildClientSchema, that is missing from this implementation.

The function converts the results of an introspection query to a GraphQLSchema instance.

buildClientSchema is key for schema federation (#492) and stitching (#329, #435), demonstrated by the gatsby-source-graphql package.

Including this function would allow downstream packages to add federation and stitching features, and the creation of GraphQL analysis tools written in Go.

While federation and stitching might be out of scope for this project, the buildClientSchema building block seems within scope, being part of the reference implementation.

Thanks for the great work on this package!

@MoritzGruber
Copy link

If someone es is looking for this, there is a external package that does this: https://github.com/jensneuse/graphql-go-tools

@jufemaiz
Copy link

If someone es is looking for this, there is a external package that does this: https://github.com/jensneuse/graphql-go-tools

@MoritzGruber any tips there?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants