I am trying to run a simple Mutation in order to Upload an Image, but I am stack with this error: "Error: There can be only one type named "Upload"."
this is my code
import { FileUploadI, GraphQLUpload } from 'graphql-upload'
@Mutation(() => Picture)
async uploadPicture(@Arg('data', () => GraphQLUpload) data: FileUploadI): Promise<Picture> {
//.. implementation
}
I am using Apollo and Express as Server and Typescript with Type-Graphql