You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
File upload with yoga and nextjs works fine if its app router, but in pages legacy router it does not work as expected ... while using bodyParser: false it results with 500 error saying
TypeError: RequestInit: duplex option is required when sending a body.
at new Request (node:internal/deps/undici/undici:7368:19)
and if I remove bodyParser:false I get a file response that is missing most of its built-in functions like stream and arrayBuffer
Your Example Website or App
none
Steps to Reproduce the Bug or Issue
1- Work with yoga (latest version) example and nextjs 14
2- Toggle bodyParser true/false
Expected behavior
for upload to work as expected
Screenshots or Videos
No response
Platform
OS: macOS
NodeJS: v18.18.0
@graphql-yoga/* version(s): 5.1.1
Nextjs: 14.1.0
Additional context
No response
The text was updated successfully, but these errors were encountered:
Not yet but as @EmrysMyrddin said above, a reproduction or a PR with a failing test would be better for us or anyone else(who wants to contribute) in order to proceed faster.
Describe the bug
File upload with yoga and nextjs works fine if its app router, but in pages legacy router it does not work as expected ... while using bodyParser: false it results with 500 error saying
and if I remove bodyParser:false I get a file response that is missing most of its built-in functions like stream and arrayBuffer
Your Example Website or App
none
Steps to Reproduce the Bug or Issue
1- Work with yoga (latest version) example and nextjs 14
2- Toggle bodyParser true/false
Expected behavior
for upload to work as expected
Screenshots or Videos
No response
Platform
@graphql-yoga/*
version(s): 5.1.1Additional context
No response
The text was updated successfully, but these errors were encountered: