We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After upgrading router from 1.4 to 1.59, the headers are not propagating from super-graph to sub-graph
Steps to reproduce the behavior:
curl -sSL https://router.apollo.dev/download/nix/latest | sh
-FROM --platform=linux/X86_64 ghcr.io/apollographql/router:v1.40.1 +FROM --platform=linux/X86_64 ghcr.io/apollographql/router:v1.59.0
./router config upgrade <path to yaml>
headers: all: request: # https://deploy-preview-4733--apollo-router-docs.netlify.app/configuration/header-propagation#rule-ordering # propagate rest of the headers to subgraph - propagate: matching: .* # rename the headers before propagating to subgraph - propagate: named: <header 1> rename: client-<header 1> - propagate: named: <header 2> rename: client-<header 2> - propagate: named: <header 3> rename: client-<header 3>
I tried to put the pass-through rule both at the top and bottom. But it the result is same regadless
subgraph response contains invalid 'content-type' header value "null"; expected content-type: application/json or content-type: application/graphql-response+json, Location: undefined, Path:
I added logs on both super graph and sub graph. I do see this header in super graph logs but not so in subgraph log.
Am I missing something here?
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered:
bump.
Sorry, something went wrong.
No branches or pull requests
Describe the bug
After upgrading router from 1.4 to 1.59, the headers are not propagating from super-graph to sub-graph
To Reproduce
Steps to reproduce the behavior:
curl -sSL https://router.apollo.dev/download/nix/latest | sh
./router config upgrade <path to yaml>
I tried to put the pass-through rule both at the top and bottom. But it the result is same regadless
Expected behavior
Output
I added logs on both super graph and sub graph. I do see this header in super graph logs but not so in subgraph log.
Am I missing something here?
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: