Skip to content

Chris/schy 380 sdk entitlement usage does not update from datastream - #127

Merged
cbrady merged 4 commits into
mainfrom
chris/schy-380-sdk-entitlement-usage-does-not-update-from-datastream
Jun 1, 2026
Merged

cbrady merged 4 commits into
mainfrom
chris/schy-380-sdk-entitlement-usage-does-not-update-from-datastream

Conversation

@cbrady

@cbrady cbrady commented May 28, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@cbrady cbrady self-assigned this May 28, 2026
@cbrady
cbrady requested a review from a team as a code owner May 28, 2026 14:42
Comment thread src/datastream/merge.ts
updatedBalances: Record<string, number> | undefined,
metricsUpdated: boolean,
): void {
const entitlements = (getProp(merged, "entitlements", "entitlements") ?? []) as Record<string, unknown>[];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can we do a tighter type constraint than unknown here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

this derives from an issue with the types that we're caching that is being fixed in another PR. so we should fix it when that is resolved.

@cbrady
cbrady force-pushed the chris/schy-380-sdk-entitlement-usage-does-not-update-from-datastream branch from 060dbfe to 0529f97 Compare May 29, 2026 18:41
@cbrady
cbrady force-pushed the chris/schy-380-sdk-entitlement-usage-does-not-update-from-datastream branch from 0529f97 to 89c14c4 Compare June 1, 2026 14:42
@cbrady
cbrady merged commit 9d11bf9 into main Jun 1, 2026
5 checks passed
@cbrady
cbrady deleted the chris/schy-380-sdk-entitlement-usage-does-not-update-from-datastream branch June 1, 2026 14: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.

3 participants