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
Say we have the following custom fragment:
fragment Example on MyInterface { __typename someField }
The compileNodeQueries will transform it to something like this for node query:
compileNodeQueries
fragment Example on MyInterface { remoteTypeName: __typename someField }
And compileGatsbyFragments will transform it to:
compileGatsbyFragments
fragment Example on PrefixMyInterface { remoteTypeName someField }
The problem though is that the field remoteTypeName is not added to PrefixMyInterface and as a result, Gatsby query fails with an error.
remoteTypeName
PrefixMyInterface
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Say we have the following custom fragment:
The
compileNodeQueries
will transform it to something like this for node query:And
compileGatsbyFragments
will transform it to:The problem though is that the field
remoteTypeName
is not added toPrefixMyInterface
and as a result, Gatsby query fails with an error.The text was updated successfully, but these errors were encountered: