Suppose I have the following mutation in .gql file where I have two inputs and one of them contains Upload type, which is a file;
How can I send the query with an image embedded for profileImage field?
register(credentials: RegisterCredentials!, userInfo: RegisterInput!): RegisterPayload!
input RegisterCredentials {
thirdPartyUserid: ID!
accessToken: String!
}
input RegisterInput {
username: String!
age:Int!
countryCode: String!
languageCodes: [String!]
notificationsEnabled: Boolean!
email:String!
phone:String!
profileImage: Upload
}