-
Notifications
You must be signed in to change notification settings - Fork 8
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
Support schema imports #12
Comments
We ran into some issues with this previously. @ryanomackey was trying to get That being said, I'd love to have support for it. Any chance you've got time to put together a PR? |
Would you want this compile-time or run-time? |
It would need to work with the |
Relevant code for transpilation in the CLI: https://github.com/gramps-graphql/gramps-cli/blob/master/lib/data-sources.js#L122-L143 |
There you go... ^^ |
It would be great if the datasource boilerplate would include support for
import
statements in schemas. See https://github.com/graphcool/graphql-import for details.This could be a build step (using the
graphql-cli bundle
command) or a run-time step (usingimportSchema()
.The text was updated successfully, but these errors were encountered: