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:
Yura Bondarenko
2022-04-07 17:15:07 +02:00
parent 19fa36f243
commit c19d12c5c0
9 changed files with 266 additions and 18 deletions

View File

@@ -13,6 +13,7 @@ export function getMockRequestService(requestEntry$: Observable<RequestEntry> =
isCachedOrPending: false,
removeByHrefSubstring: observableOf(true),
setStaleByHrefSubstring: observableOf(true),
setStaleByUUID: observableOf(true),
hasByHref$: observableOf(false)
});
}