ra-data-nestjsx-crud icon indicating copy to clipboard operation
ra-data-nestjsx-crud copied to clipboard

Add option to force "fullUpdates"

Open Brunni opened this issue 2 years ago • 0 comments

We had difficulities using this provider when having a strict validation on the entities.

To make this work, we removed the logic to only send changed values during the update request:

update: (resource, params) => {
    //Hint: We changed this code here manually to provide full updates always. We should do pull-request for this option.
    const data = params.data;

Perhaps we can pull this back into this library as an additional option during creation (e.g. {forceFullUpdates: true})

Brunni avatar Mar 03 '22 18:03 Brunni