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

Allow to add new types in string type definition when merging schemas #427

Closed
schickling opened this issue Oct 11, 2017 · 2 comments
Closed

Comments

@schickling
Copy link
Contributor

When using mergeSchema and I want to add a new type that doesn't yet exist in one of the schemas I want to merge. Seems like this is currently a limitation in mergeSchema and should be fixed :)

@freiksenet
Copy link
Contributor

Thanks, this is a limitation, mainly because graphql-js doesn't expose buildClientSchema utilities. I definitely want to fix that limitation and probably also accept passing list of GraphQLType instances.

@schickling
Copy link
Contributor Author

Works! Thanks a lot for your great work @freiksenet! 🎉

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

2 participants