It seems like adding a WrapFields transform to a schema causes all emitted queries to include the following root selection:
{ kind: 'Field', name: { kind: 'Name', value: '__typename' } }
This causes all subscriptions to fail (because of the restriction against having more than one root field in a subscription). This is true even though the WrapFields transform isn't wrapping anything related to a Subscription.
Am I doing something totally wrong here, or is there a known way around this? If it's a new bug I can try to come up with a stand-alone reproduction.
It seems like adding a
WrapFieldstransform to a schema causes all emitted queries to include the following root selection:This causes all subscriptions to fail (because of the restriction against having more than one root field in a subscription). This is true even though the
WrapFieldstransform isn't wrapping anything related to a Subscription.Am I doing something totally wrong here, or is there a known way around this? If it's a new bug I can try to come up with a stand-alone reproduction.