65272: Object update PUT to PATCH requests + option to add ignored metadata fields to update

This commit is contained in:
Kristof De Langhe
2020-01-23 16:49:31 +01:00
parent 4ae5ee21b1
commit a714958c04
7 changed files with 67 additions and 17 deletions

View File

@@ -6,6 +6,6 @@ import { RestRequestMethod } from './rest-request-method';
* Represents a data service to update a given object
*/
export interface UpdateDataService<T> {
update(object: T): Observable<RemoteData<T>>;
update(object: T, ignoreMetadataFields?: string[]): Observable<RemoteData<T>>;
commitUpdates(method?: RestRequestMethod);
}