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

💡 [patch] WriteThroughCache: cautionary JSDoc #95

Merged
merged 2 commits into from
Aug 21, 2024

Conversation

ronjouch
Copy link
Contributor

@ronjouch ronjouch commented Aug 21, 2024

Self-explanatory, as reminder/warning of what we learned.

Self-explanatory, as reminder of what we learned.
@@ -4,7 +4,31 @@ import { LocalCache } from './LocalCache';


/**
Copy link
Contributor Author

@ronjouch ronjouch Aug 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reminder that cachette is public, no disclosing world domination plans in PR comments.

*
* -> This is fixable, e.g. using Redis pub/sub, to let clients subscribe to
* set/del events, and react with an eviction from their LocalCache.
* In the context we cachette maintainers got bitten by this, it made sense
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure? This sounds funny when I read it

Suggested change
* In the context we cachette maintainers got bitten by this, it made sense
* We cachette maintainers got bitten by this, and it made sense

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 was weird, I tend to over-omit some liaison words. Fixed in 5280a24.

@ronjouch ronjouch merged commit bcea9af into master Aug 21, 2024
4 checks passed
@ronjouch ronjouch deleted the jsdoc-warning-writethrough branch August 21, 2024 18:44
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.

2 participants