From 1c23763ce8de8ced945963818b8c012a90d31147 Mon Sep 17 00:00:00 2001 From: Kiss Miklos Date: Thu, 7 Jul 2022 12:09:22 +0200 Subject: [PATCH] update changeset Signed-off-by: Kiss Miklos --- .changeset/cold-coins-tickle.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.changeset/cold-coins-tickle.md b/.changeset/cold-coins-tickle.md index 80f0958daa..301a9d0a84 100644 --- a/.changeset/cold-coins-tickle.md +++ b/.changeset/cold-coins-tickle.md @@ -6,3 +6,14 @@ Added an option to be able to trigger refreshes on entities based on a prestored The UrlReaderProcessor, FileReaderProcessor got updated to store the absolute URL of the catalog file as a refresh key. In the format of `:` The PlaceholderProcessor got updated to store the resolverValues as refreshKeys for the entities. + +The custom resolvers will need to be updated to pass in a `CatalogProcessorEmit` function as parameter and they should be updated to emit their refresh processingResults. You can see the updated resolvers in the `PlaceholderProcessor.ts` + +```ts + // yamlPlaceholderResolver + ... + const { content, url } = await readTextLocation(params); + + params.emit(processingResult.refresh(`url:${url}`)); + ... +```