Summary
Unexpected Behavior When Disabling Client Awareness:
Setting the sendEnhancedClientAwareness property to false on the RequestChainNetworkTransport does not prevent the headers apollographql-client-name and apollographql-client-version from being included in the request. This behavior contradicts the expectation that toggling this flag would completely disable these headers.
Opt-In Requirement for New Headers:
Any new headers that modify the request behavior or introduce additional metadata should follow an opt-in implementation pattern. By default, new headers should be disabled and require explicit user configuration
Version
1.23.0
Steps to reproduce the behavior
- During initialization of the
RequestChainNetworkTransport set sendEnhancedClientAwareness to false.
- Requests still sending
apollographql-client-name and apollographql-client-version
Logs
Anything else?
No response
Summary
Unexpected Behavior When Disabling Client Awareness:
Setting the sendEnhancedClientAwareness property to false on the
RequestChainNetworkTransportdoes not prevent the headersapollographql-client-nameandapollographql-client-versionfrom being included in the request. This behavior contradicts the expectation that toggling this flag would completely disable these headers.Opt-In Requirement for New Headers:
Any new headers that modify the request behavior or introduce additional metadata should follow an opt-in implementation pattern. By default, new headers should be disabled and require explicit user configuration
Version
1.23.0
Steps to reproduce the behavior
RequestChainNetworkTransportsetsendEnhancedClientAwarenessto false.apollographql-client-nameandapollographql-client-versionLogs
Anything else?
No response