Open danpayne17 opened 10 months ago
@bnjjj Do you remember why we enable this in dev mode by default?
Not really, I don't remember. But IMHO the real problem is not being able to override the configuration don't you think ?
Thanks for opening this @danpayne17. Sounds like there might be three things to look at and fix here — leaving these notes here as context to myself:
Describe the bug experimental_response_trace_id is enabled by default when dev mode is enabled and cannot be disabled in yaml config. Documentation does not state that this should be enabled by default when dev mode is enabled
To Reproduce Steps to reproduce the behavior: Start the router with dev mode enabled:
./router --dev
OR
Start the router with dev mode enabled and the following router yaml config:
Expected behavior experimental_response_trace_id should not be enabled because documentation states it should be disabled by default and it should be disabled when explicitly disabling in router yaml config. The below log statement should not appear in the logs. The feature should disabled when explicitly disabling it in yaml config.
Output This is actual output from router when starting it with dev mode enabled:
Furthermore, I get the
apollo-trace-id
in the response:Desktop (please complete the following information):