-
I would like to upload files but the graphql_codegen is transforming Upload! to String. Is there a solution to uploading a file? |
Beta Was this translation helpful? Give feedback.
Answered by
budde377
Jul 5, 2023
Replies: 1 comment
-
You need to map the |
Beta Was this translation helpful? Give feedback.
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
Upload
scalar to something thatgraphql_flutter
can handle, e.g, you need to add a custom scalar and then map it to aMultipartFile
(see here)