How to customize a form graphql mutation?
Hi, my app has a graphql backend so i'm using refine's graphql data provider
In the backend, my graphql schema has the createUser mutation wich follows this structure:
In the frontend i'm rendering the next creation form component:
But when i click on submit, the following (wrong) mutation is sended to the backend:
As you can see, the mutation args typing is wrong, it should be
also the mutation arg name is wrong, it should be
How can i define / customize this behaviour?
In the backend, my graphql schema has the createUser mutation wich follows this structure:
In the frontend i'm rendering the next creation form component:
But when i click on submit, the following (wrong) mutation is sended to the backend:
As you can see, the mutation args typing is wrong, it should be
CreateUserInput! instead of createUserInputalso the mutation arg name is wrong, it should be
data instead of input.How can i define / customize this behaviour?
