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
It could be awesome to add the supportt of #import, really useful for the fragments. Example:
# File user.fragment.gql fragment UserFragment on User { id email }
# File query.user.gql #import "./user.fragment.gql" query user { user { ...UserFragment } }
and then we just need to loadFile('query.user.gql');.
loadFile('query.user.gql');
The text was updated successfully, but these errors were encountered:
Hi @vincentwinkel , thanks for the suggestion.
I implemented #import annotation support for the loadFile function.
#import
loadFile
Feel free to validate the operation by installing the version graphql-import-files@1.2.18
Sorry, something went wrong.
No branches or pull requests
It could be awesome to add the supportt of #import, really useful for the fragments.
Example:
and then we just need to
loadFile('query.user.gql');
.The text was updated successfully, but these errors were encountered: