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
Encounter form field sequence error when parsing graphql.Upload requests from frontend, it said "first part must be operations" and "second part must be map" etc.
What did you expect?
Is it necessary to strictly check the order of form field? It would be better by checking their existence only, like before.
This form field Order Check feature was introduce by PR #2135.
Minimal graphql.schema and models to reproduce
versions
go run github.com/99designs/gqlgen 0.17.6
go version 1.18
The text was updated successfully, but these errors were encountered:
I'm sorry for opening an issue for this. I found the Spec just now, the form fields are required to be ordered by design. gqlgen above v0.17.6 begins to check form fields' order. Perhaps some demonstrations about the order should be supplemented to the File Upload section in Docs.
What happened?
Encounter form field sequence error when parsing graphql.Upload requests from frontend, it said "first part must be operations" and "second part must be map" etc.
What did you expect?
Is it necessary to strictly check the order of form field? It would be better by checking their existence only, like before.
This form field Order Check feature was introduce by PR #2135.
Minimal graphql.schema and models to reproduce
versions
go run github.com/99designs/gqlgen 0.17.6
go version 1.18
The text was updated successfully, but these errors were encountered: