mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-16 06:23:03 +00:00
93219: Simplify DataService feature interfaces
Get rid of optional methods - createPatchFromCache is useful -> make required - leave getFindAllHref and getSearchByHref out & use implementation directly or refactor usages
This commit is contained in:
@@ -50,7 +50,7 @@ export interface PatchData<T extends CacheableObject> {
|
||||
* Return a list of operations representing the difference between an object and its latest value in the cache.
|
||||
* @param object the object to resolve to a list of patch operations
|
||||
*/
|
||||
createPatchFromCache?(object: T): Observable<Operation[]>;
|
||||
createPatchFromCache(object: T): Observable<Operation[]>;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user