Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add optional metadata for cache.ExportReplace #395

Merged
merged 1 commit into from
Mar 1, 2023
Merged

Conversation

chlowell
Copy link
Collaborator

Closes #381 by adding structs to provide metadata to cache.ExportReplace implementations. Adding fields to these structs is non-breaking provided implementors aren't required to observe them. I added separate types for Export and Replace because most of the potential metadata I know of is relevant to Export only, and so could be confusing if passed Replace as well. But my long-term MSAL vision is limited here so please let me know if it makes more sense to pass the same collection of metadata to both methods.

@chlowell chlowell added the GA label Feb 28, 2023
@sonarcloud
Copy link

sonarcloud bot commented Feb 28, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@chlowell chlowell marked this pull request as ready for review March 1, 2023 00:22
@chlowell chlowell merged commit bc40c6d into dev Mar 1, 2023
@chlowell chlowell deleted the chlowell/cache-hints branch March 1, 2023 23:00
@rayluo rayluo mentioned this pull request Mar 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feature Request] Cache interface is not extensible
2 participants