Cannot compile the mutation #989
Unanswered
pnkapadia64
asked this question in
Q&A
Replies: 1 comment
-
If you want to return |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to work out a mutation to remove a favourite game corresponding to a user's email address. The input is pretty straightforward, two strings. I keep getting the error
NoExplicitTypeError: Unable to infer GraphQL type from TypeScript reflection system. You need to provide explicit type for 'removeUserFavouriteGameMutation' of 'FavouriteGamesResolver' class.
The error is same even if the input doesn't extend an object (here FavouriteUserGame) or if I use an abstract class. Not sure what is causing it.
Beta Was this translation helpful? Give feedback.
All reactions