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

Import individual types from within another grapqhl file #35

Open
corbpaul opened this issue Sep 4, 2018 · 1 comment
Open

Import individual types from within another grapqhl file #35

corbpaul opened this issue Sep 4, 2018 · 1 comment

Comments

@corbpaul
Copy link

corbpaul commented Sep 4, 2018

While its possible to import everything into another .graphql using the import comment#import "./personSchema.graphql", is it possible to import individual types?

This is similar to graphql-import where they would have # import Person from "./personSchema.graphql"

@jamiter
Copy link
Contributor

jamiter commented Sep 4, 2018

This package is based upon graphql-tag/loader, but maybe it's time to move to a more advanced importer like graphql-import. I'll check if all current features will be supported and if it's an easy switch.

PRs welcome of course.

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