Closed
Description
openedon Dec 7, 2021
What you were expecting:
When mutations fail, the specific error (HttpError body) should be accessible like shown in https://marmelab.com/react-admin/CreateEdit.html#submission-validation
What happened instead:
The HttpError body is not set.
Steps to reproduce:
- Create new project
- Add ra-data-gaphql data provider
- Implement submission validation like shown in https://marmelab.com/react-admin/CreateEdit.html#submission-validation
error.body
is not set and thus errors cannot be accessed
Environment
- React-admin version: 3.19.2
Activity