{
"data": null,
"errors": [
{
"path": null,
"locations": null,
"message": "The variables input contains a field that is not defined for input object type 'CreateUpdateTestInput' "
}
]
}
Note the lack of the missing field in the error
And here is an example how it goes correctly:
Mutation:
Hello,
We've run into an issue with how error are not handled correctly when using Query Variables to fill a Query/Mutation.
Here is an example how it goes wrong: Mutation:
Query Variables:
Output:
Note the lack of the missing field in the error
And here is an example how it goes correctly: Mutation:
Output:
Note the actual showing of the missing required fields.
Have we made a mistake with our appsync configuration? Is this working as intended or is this a bug?