We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When using graphql-tag/loader under Webpack, the returned results are surprising when working directly with fragments in processed files.
graphql-tag/loader
I put together a full reproduction here: https://github.com/laverdet/graphql-issue
If you clone the repository and run npm install; npm start you will see the following output:
npm install; npm start
query Hello { ...Fragment } query Query { id } fragment Fragment on Model { id }
It is unexpected that query Query would end up in the output considering it is not referenced at all.
query Query
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When using
graphql-tag/loader
under Webpack, the returned results are surprising when working directly with fragments in processed files.I put together a full reproduction here:
https://github.com/laverdet/graphql-issue
If you clone the repository and run
npm install; npm start
you will see the following output:It is unexpected that
query Query
would end up in the output considering it is not referenced at all.The text was updated successfully, but these errors were encountered: