Invalid Argument Type Error
Description
This error is thrown when an argument is of the wrong type, it usually happens when passing unions or interfaces as an argument, for example the following code will throw this error:
Using union types as arguments
The latest GraphQL specification
doesnβt allow using unions as arguments. Thereβs currently an
RFC for adding a oneOf
directive
that might work for your use case, but itβs not yet implemented in the spec and
Strawberry