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}`)); + ... +```