|
I would like to upload files but the graphql_codegen is transforming Upload! to String. Is there a solution to uploading a file? |
Answered by
budde377
Jul 5, 2023
Replies: 1 comment
|
You need to map the |
0 replies
Answer selected by
budde377
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to map the
Uploadscalar to something thatgraphql_fluttercan handle, e.g, you need to add a custom scalar and then map it to aMultipartFile(see here)