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
When using Bun, the initial request will "prime" the server and it will refuse to yield the correct request on subsequent requests.
This works in Node.
https://codesandbox.io/p/devbox/bun-yoga-yielding-wrong-request-dd3zzk
See README in the codesandbox!
I have also prepared the same repo in node, to verify that this works: https://codesandbox.io/p/devbox/bun-node-yielding-correct-request-67frsn
It should work the same in Bun as in Node.
I have no clue if this is a Bun issue or Yoga/Envelop issue.
No response
The text was updated successfully, but these errors were encountered:
The fix was
Bun.serve({ fetch: req => yoga(req) })
Thanks @EmrysMyrddin !
Sorry, something went wrong.
No branches or pull requests
Describe the bug
When using Bun, the initial request will "prime" the server and it will refuse to yield the correct request on subsequent requests.
This works in Node.
Your Example Website or App
https://codesandbox.io/p/devbox/bun-yoga-yielding-wrong-request-dd3zzk
Steps to Reproduce the Bug or Issue
See README in the codesandbox!
I have also prepared the same repo in node, to verify that this works: https://codesandbox.io/p/devbox/bun-node-yielding-correct-request-67frsn
Expected behavior
It should work the same in Bun as in Node.
I have no clue if this is a Bun issue or Yoga/Envelop issue.
Screenshots or Videos
No response
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: