You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When sending multiple headers with the same name but different values to the Router, there's only one header entry that remains in the request to the subgraph
To Reproduce
Steps to reproduce the behavior:
Setup a test router using the experimental_logging functionality and header propagation set to forward all headers, with a subgraph that logs all requests
Send a request with 2 headers using the same name
See that the supergraph request headers have 2 headers of the same name
See that the subgraph request headers only have 1
See that the subgraph only sees one too
Expected behavior
Header propagation should propagate all values for multi-value headers.
Output
If applicable, add output to help explain your problem.
Desktop (please complete the following information):
OS: [e.g. iOS]
Version [e.g. 22]
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
Uses `HeaderMap.append` instead of `insert` to prevent removing values
from multi-value headers.
__Note__: This might break implementations that require on a single
header value being passed.
Fixes#4153
Describe the bug
When sending multiple headers with the same name but different values to the Router, there's only one header entry that remains in the request to the subgraph
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Header propagation should propagate all values for multi-value headers.
Output
If applicable, add output to help explain your problem.
Desktop (please complete the following information):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: