Skip to content
New issue

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

Preserve the parts from our subgraph response use in our response #1095

Merged
merged 1 commit into from
May 19, 2022

Conversation

garypen
Copy link
Contributor

@garypen garypen commented May 18, 2022

Currently, we build a response from only the body of the subgraph
response. This change ensures that the parts from the subgraph response
(headers, status_code, version) are also preserved in the resulting
response from the router.

fixes: #1094

Currently, we build a response from only the body of the subgraph
response. This change ensures that the parts from the subgraph response
(headers, status_code, version) are also preserved in the resulting
response from the router.
@garypen garypen self-assigned this May 18, 2022
@netlify
Copy link

netlify bot commented May 18, 2022

Deploy Preview for apollo-router-docs canceled.

Name Link
🔨 Latest commit 7f7d223
🔍 Latest deploy log https://app.netlify.com/sites/apollo-router-docs/deploys/628520073f816100088be69c

@github-actions
Copy link
Contributor

@garypen your pull request is missing a changelog!

Copy link
Contributor

@o0Ignition0o o0Ignition0o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch, congratulations! 🎉

@garypen garypen merged commit d8d10d1 into main May 19, 2022
@garypen garypen deleted the garypen/1094-keep-parts branch May 19, 2022 10:39
@BrynCooke BrynCooke added this to the v0.9.2 milestone May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

subgraph response parts aren't propagated
5 participants