mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-09 19:13:08 +00:00
90252: Invalidate requests containing DSO on DataService.delete
Keep track of a list of request UUIDs in the object cache (most recent in front) When deleting a DSO, mark all of these as stale
This commit is contained in:
@@ -13,6 +13,7 @@ export function getMockRequestService(requestEntry$: Observable<RequestEntry> =
|
||||
isCachedOrPending: false,
|
||||
removeByHrefSubstring: observableOf(true),
|
||||
setStaleByHrefSubstring: observableOf(true),
|
||||
setStaleByUUID: observableOf(true),
|
||||
hasByHref$: observableOf(false)
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user