You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when creating a mutaion and tried to test it it always generate the request body with wrong object, after deep debugging I found that the issue was that i named the parameter with 'input' like that
createAccount(input: $account){
id,
user{
name,
},
amount
}
} ```
when I changed it to another name it worked correctly:
``` mutation AccountConformationMutation($account: NewAccount!) {
createAccount(account: $account){
id,
user{
name,
},
amount
}
} ```
The text was updated successfully, but these errors were encountered:
Just to be clear, you changed the name of your parameter in your graphql server?
Yes, It has to be changed in the schema of server also, but the problem in the generated code of ferry, specifically in the request of the schema in the client, it is generated in the wrong way because there is a conflict with the 'input' word with the generated code.
when creating a mutaion and tried to test it it always generate the request body with wrong object, after deep debugging I found that the issue was that i named the parameter with 'input' like that
The text was updated successfully, but these errors were encountered: