-
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
fragment which has __typename
only is removed by removeClientSetsFromDocument
#6311
Comments
@hwillson any updates on this? :) |
I will take a look at it |
@chris110408 any updates? |
@hwillson did this get lost or a "won't fix"? No movement here or PR. |
Sorry I was totally forget this. any one please feel free to take over this ticket |
Thanks for the quick reply @chris110408. We'll get something together. |
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:
The following code which works in v2 should not throw an error in v3:
Actual outcome:
The above code throws an error
Validation error of type UndefinedFragment: Undefined fragment CellFragment @ 'gameStatus/maze/cells'
because the CellFragment only contains __typenameapollo-client/src/utilities/graphql/transform.ts
Line 503 in 61a799b
How to reproduce the issue:
https://codesandbox.io/s/apollo-3-fragment-bug-yf8f7?file=/src/index.ts
https://codesandbox.io/s/apollo-2-with-fragment-lfe8e?file=/src/index.ts
Versions
@apollo/client 3.0.0-beta.49
The text was updated successfully, but these errors were encountered: