Closed hantsy closed 1 year ago
You need to add @GraphQLType
annotation to the CreatePostInput class.
I presume you've figured this out in the meantime. Could you please share what was it?
My gut feeling is it's Lombok doing something bonkers. Because every time things are mysteriously missing from the schema - Lombok is involved. So I'd investigate in that direction. Otherwise, I don't see anything suspicious.
Since this is an old issue, I'll close it, but feel free to reopen it if you still need help.
The input type:
GraphQLMutation is like this:
I added a test to send a mutation query.
When sending a mutation query, I got the following errors.
The complete source codes can be found on my Github. I have tried to use multi simple arguments(title, content...) in the
createPost
method, it worked.