1

I need to upload a file using GraphQL. I declare a Scalar Upload to do this in a .graphqls file:

Scalar Upload

Mutation {
    ...
}

But when I try to make a request to the server, I get an error:

Unknown type “Upload”

How can I fix this error and correctly make a request to the Go server

I already changed the name of the variable on 'FileUpload'

Siraf
  • 1,133
  • 9
  • 24
Stepan
  • 11
  • 1
  • i dont get what `Scalar`means ? is it a go type? please give us more info on what you are trying to do - links to what you are doing also helps :) – AthulMuralidhar Apr 18 '23 at 13:31

0 Answers0