Should remove @client
and __typename
-only fragment and fragment spread if fragment appears before query
#10539
Labels
@client
and __typename
-only fragment and fragment spread if fragment appears before query
#10539
Issue Description
For the following document node:
The expected document returned via
removeClientSetsFromDocument(query)
isinstead of the current behavior:
which keeps a dangling reference to the removed fragment and will cause a server error.
Link to Reproduction
See code example
Reproduction Steps
No response
The text was updated successfully, but these errors were encountered: