-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
🐛 Nested fragments don't work with @client
directive
#10003
Comments
Hi, just a reminder to please wrap |
@client
directive
Maybe someone knows how to solve this issue? |
Not sure if this will help with your issue, but if your GraphQL schema has unions or interfaces make sure you have |
Hi @AndreyCashia 👋 Do you have a runnable reproduction you can share? Thanks! |
We're closing this issue now but feel free to ping the maintainers or open a new issue if you still need support. Thank you! |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Intended outcome:
I want to get my mock data when I use a resolvers with
@client
directive and nested fragments.Actual outcome:
I get an error when I use this fragment
auth.tsx->errorLink->graphQLErrors {"locations": [{"column": 1, "line": 36}], "message": "Fragment \"geoCoordinatesFields\" is never used."}
but it works fine when I use not nested fragments like
not issues
How to reproduce the issue:
You can use fragments of any nesting level for reproduce this issue
Versions
The text was updated successfully, but these errors were encountered: