You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to create a file upload mutation based on the ApolloGraphQL documentation.
I can't figure out, how should I map the GraphQLUpload to the Upload scalar.
In the builder file, I added a new scalar like this:
But I get an error message: Argument of type 'GraphQLScalarType' is not assignable to parameter of type 'GraphQLScalarType<unknown, unknown>'. Type 'GraphQLScalarType' is missing the following properties from type 'GraphQLScalarType<unknown, unknown>': specifiedByURL, [Symbol.toStringTag]
Can you give me a hint on how should I solve this?
Thank you very much!
The text was updated successfully, but these errors were encountered:
Hey馃憢
I'm trying to create a file upload mutation based on the ApolloGraphQL documentation.
I can't figure out, how should I map the
GraphQLUpload
to theUpload
scalar.In the
builder
file, I added a new scalar like this:And then i tried to add the
GraphQLUpload
like this:But I get an error message:
Argument of type 'GraphQLScalarType' is not assignable to parameter of type 'GraphQLScalarType<unknown, unknown>'. Type 'GraphQLScalarType' is missing the following properties from type 'GraphQLScalarType<unknown, unknown>': specifiedByURL, [Symbol.toStringTag]
Can you give me a hint on how should I solve this?
Thank you very much!
The text was updated successfully, but these errors were encountered: