-
-
Notifications
You must be signed in to change notification settings - Fork 484
Open
Labels
fetchFetch client related issueFetch client related issue
Description
I noticed that my headers were missing when I call myFun({ headers }). The myFun was generated with orval. In my case, headers has type Headers. I looked into the generated code and found this line of code which causes the problem:
headers: { 'Content-Type': 'application/json', ...options?.headers }
The problem is that {...headers} is always an empty object.
Metadata
Metadata
Assignees
Labels
fetchFetch client related issueFetch client related issue