The GraphQL documentation says that
To save all client-side data changes to server, Webix Dataprocessor is used.
I’ve modified your Dataprocessor sample to show that somewhere along the way, Dataprocessor loses the response from the server. Open the console, click the button in the sample, and notice:
- the Promise returned by
save(...)
resolves to undefined instead of the response from the server - onAfterSave and onAfterSync don’t actually take the documented arguments
- onAfterSaveError doesn’t fire, even though there is an error when trying to add a product and the response does contain an
errors
array, as can be seen in the Network panel of DevTools