Skip to content

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

Open
cbrady wants to merge 4 commits into
mainfrom
chris/schy-380-sdk-entitlement-usage-does-not-update-from-datastream
Open

Chris/schy 380 sdk entitlement usage does not update from datastream#127
cbrady wants to merge 4 commits into
mainfrom
chris/schy-380-sdk-entitlement-usage-does-not-update-from-datastream

Conversation

@cbrady
Copy link
Copy Markdown
Contributor

@cbrady cbrady commented May 28, 2026

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
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