If to change parts[0].description and call parts[0].update() - only "description" field is sent to server.
But if we update list: this.provider.loadParts().then(parts => this.parts = parts ); - we will get all fields marked as updated.
Then on parts[0].update() all fields are sent to server.
Could you please separate HalResource certain field update from object replacement? Or some other way to keep list untouched when replace all the list.
Let's get some list to show:
parts: Array<Part>;
If to change
parts[0].description
and callparts[0].update()
- only "description" field is sent to server. But if we update list:this.provider.loadParts().then(parts => this.parts = parts );
- we will get all fields marked as updated. Then onparts[0].update()
all fields are sent to server.Could you please separate HalResource certain field update from object replacement? Or some other way to keep list untouched when replace all the list.