Skip to content

Commit

Permalink
Update light-clocks-rhyme.md (#9912)
Browse files Browse the repository at this point in the history
  • Loading branch information
n1ru4l committed Mar 27, 2024
1 parent cd60e14 commit e98b996
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .changeset/light-clocks-rhyme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
'@graphql-codegen/client-preset': minor
'@graphql-codegen/client-preset': patch
---

The \_\_typename should not be added to the root node of a subscription when using addTypenameSelectionDocumentTransform with documentTransforms since a single root node is expected and the code generator fails because of that (refer to https://spec.graphql.org/draft/#sec-Single-root-field)
Omit `__typename` from being added on the root node of a subscription when using `addTypenameSelectionDocumentTransform` with documentTransforms since a single root node is expected and the code generator fails because of that (refer to https://spec.graphql.org/draft/#sec-Single-root-field)

0 comments on commit e98b996

Please sign in to comment.