Skip to content

add entitlement check functionality#83

Open
cbrady wants to merge 7 commits intomainfrom
chris/schy-140-add-entitlement-check-to-node-sdk
Open

add entitlement check functionality#83
cbrady wants to merge 7 commits intomainfrom
chris/schy-140-add-entitlement-check-to-node-sdk

Conversation

@cbrady
Copy link
Contributor

@cbrady cbrady commented Feb 26, 2026

No description provided.

@cbrady cbrady self-assigned this Feb 26, 2026
@cbrady cbrady requested a review from a team as a code owner February 26, 2026 15:19
dontlaugh
dontlaugh previously approved these changes Feb 26, 2026
@cbrady cbrady requested a review from dontlaugh February 26, 2026 20:30
logger,
offline,
});
this.flagCheckCacheProviders = opts?.cacheProviders?.flagChecks ?? [new LocalCache<boolean>()];
Copy link
Contributor

Choose a reason for hiding this comment

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

by removeing the boolean cache - don't we break the Cloudflare KV setup? unless we also add support for Cloudflare KV to cache entitlement responses as well here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the cloudflare library is just another cache provider, it doesn't specify the type of object that is cached. so any existing consumers of it would just set it up the same way they would a redis cache.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

though that reminds me i should update the readmes

@cbrady cbrady requested a review from bpapillon February 27, 2026 15:18
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.

3 participants