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

Use the parsed request body rather than ctx.body #132

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

jmurzy
Copy link
Contributor

@jmurzy jmurzy commented Nov 4, 2024

The Koa adapter is incorrectly using the response body (ctx.body) instead of the request body (ctx.request.body).

Copy link

linux-foundation-easycla bot commented Nov 4, 2024

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: jmurzy / name: Jake Murzy (cf9be7f)

@enisdenjo
Copy link
Member

Thanks for this PR! Can you please rebase and fix the failing lint+type checks?

@jmurzy
Copy link
Contributor Author

jmurzy commented Nov 6, 2024

@enisdenjo it should be fixed now. Thanks!

@enisdenjo enisdenjo merged commit 9f8b1f1 into graphql:main Nov 6, 2024
25 of 27 checks passed
@enisdenjo
Copy link
Member

Thank you @jmurzy, great work!

enisdenjo pushed a commit that referenced this pull request Nov 7, 2024
## [1.22.2](v1.22.1...v1.22.2) (2024-11-07)

### Bug Fixes

* **use/koa:** Use the parsed request body rather than ctx.body ([#132](#132)) ([9f8b1f1](9f8b1f1))
@enisdenjo
Copy link
Member

🎉 This PR is included in version 1.22.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

@enisdenjo enisdenjo added the released Has been released and published label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
released Has been released and published
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants