Regarding file uploads
#3487
-
At https://gqlgen.com/reference/file-upload/ the file type has an int ID. Couldn't it just be input UploadFile {
file: Upload!
} Likewise, why does the File type have a I'm trying to make sense of how I'm going to adapt all that with entgo.io |
Beta Was this translation helpful? Give feedback.
Answered by
idc77
Jan 18, 2025
Replies: 1 comment
-
Never mind, it's pretty much explained in the example |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
idc77
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Never mind, it's pretty much explained in the example
https://github.com/99designs/gqlgen/blob/master/_examples/fileupload/server/server.go