-
Notifications
You must be signed in to change notification settings - Fork 575
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
Errors in Bun: The Request.url getter can only be used on instances of Request #3446
Closed
Comments
I also opened the issue in Bun's repo: oven-sh/bun#12368 |
It seems to be fixed with the latest Bun; |
@ardatan I just tried again with bun 1.1.38, same issue (both with fastify and express when using body parser) |
Even if it is a bug in Bun, we fixed it with a workaround on our end in [email protected] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Most likely it's an issue with Bun. It happens when integrating GraphQL Yoga with Express and using express.json() middleware. Also the bug occurs when integrating Yoga with Fastify
Your Example Website or App
https://codesandbox.io/p/devbox/bun-yoga-crckwv
Steps to Reproduce the Bug or Issue
Call stack:
Expected behavior
No error occurs
Screenshots or Videos
No response
Platform
@graphql-yoga/*
version(s): 5.7.0Additional context
No response
The text was updated successfully, but these errors were encountered: