Closed ThanhDeveloper closed 1 year ago
This is correct... you must send the GraphQL-Preflight
header with a value of 1 when doing file uploads... this header must also be propagated to the subgraph. If you use our gateway template we have this already setup in the newest version.
Is there an existing issue for this?
Product
Hot Chocolate
Describe the bug
Unable to Upload file on a Fusion
Steps to reproduce
I have several applications running on the following ports:
.AddType<UploadType>()
in program.cs , includeGraphQL-Preflight:1
on header and my upload file code below:Noted: It is working on simple project use hot chocolate. But not working on bff and fusion Please tell me may I was wrong or can I detect root cause of this problem ?
UPDATE:: If I upload file from API project one at https://localhost:7002 it will be success ! But I can't upload it through fusion schema !
Not working on bff and fusion:
Working on simple project
Relevant log output
Additional Context?
No response
Version
13.5.0-preview.18