-
When I try to define mutations, my code breaks. I also tried one of the examples and I get the same error: I have a UserType set up. The Query type uses it.
The mutation type is defined as follows:
I feel like I'm missing something basic. my composer has: "webonyx/graphql-php": "^14.3", |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
I spent 2 days trying to figure it out, only to ask here and THEN figuring it out. I had wrapped my args into an 'input' key. This is a no-no. I had to use an InputObjectType.
and then use THAT as the input
|
Beta Was this translation helpful? Give feedback.
I spent 2 days trying to figure it out, only to ask here and THEN figuring it out.
I had wrapped my args into an 'input' key. This is a no-no. I had to use an InputObjectType.
and then use THAT as the input