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

API Change - Returns a response object with Data and Headers #1

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

dkempner
Copy link
Owner

@dkempner dkempner commented Aug 2, 2024

Fixes machinebox#49

Why?

Graphql sometimes needs to return headers, like Set-Cookie.

What

Rather than passing in a response object and having it filled out, .Run now returns a response object with a Data and Headers field.

@dkempner dkempner force-pushed the dkempner/add-response-headers branch from cd60e76 to 5095e66 Compare August 2, 2024 18:02
@dkempner dkempner merged commit 188d142 into master Aug 2, 2024
@dkempner dkempner deleted the dkempner/add-response-headers branch August 2, 2024 19:29
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.

Response header
1 participant