Skip to content
This repository was archived by the owner on Oct 31, 2026. It is now read-only.

Read the reader's custom claims with bracket access (0.14.1) - #30

Merged
nicu-chiciuc merged 1 commit into
mainfrom
reader-claims-bracket-access
Oct 30, 2026
Merged

nicu-chiciuc merged 1 commit into
mainfrom
reader-claims-bracket-access

Conversation

@nicu-chiciuc

@nicu-chiciuc nicu-chiciuc commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

@samebase/alchemy-convex ships its store functions as TypeScript, so a base app compiles them under its own tsconfig. The hub sets noPropertyAccessFromIndexSignature, and the dot access on identity.scope and identity.repository fails its tsc and its convex deploy. Bracket access fixes it in the package, so the hub drops its workaround in samebase/team-base#20.

No function changes, STORE_VERSION stays 4, and no consumer has to move.

🤖 Generated with Claude Code


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need.

A base app compiles src/store/functions.ts under its own tsconfig, and the hub sets
noPropertyAccessFromIndexSignature, so dot access on custom claims fails its typecheck and its
deploy. No function changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@nicu-chiciuc
nicu-chiciuc merged commit 144178e into main Oct 30, 2026
1 check passed
@nicu-chiciuc
nicu-chiciuc deleted the reader-claims-bracket-access branch October 30, 2026 09:18
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant