Skip to content

Conversation

BenRib
Copy link

@BenRib BenRib commented Sep 22, 2025

I've updated the events to include the cache entry metadata when possible.
The purpose is to let event subscribers have access to the metadata to take further actions based on attributes such as LastModifiedTimestamp or EagerExpirationTimestamp.
To avoid breaking changes on the public API, I've kept the event delegates as they are and added new constructors to the event args classes where metadata were added.
New classes have been created when the events relied on the base event args. However, these are not part of the delegates as that would have resulted in breaking changes. It is still possible for the consumers to cast the received args to access the metadata property.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant