Repository navigation
Resolve #4255: Narrow typed i18n facade examples - #4314
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #4255
Use an explicit facade type annotation so a bound
translateexposes generated catalog keys instead of retainingkey: string.Changes
Testing
pnpm vitest run packages/i18n/src/typegen.test.ts— 10 passed.pnpm vitest run tooling/governance/i18n-nestjs-migration-docs.test.ts— 4 passed.npm pack --dry-run --ignore-scripts --json ./packages/i18n— both package README files are included.pnpm test:nodeexecution path. The canonical GitHub CI result is a separate gate.eb4f205a: contract, code, and verification all passed; no axes were omitted.Release impact
The patch Changeset covers the shipped README examples. No migration is required.
Public export documentation
No public exports, source TSDoc, runtime signature, or generated declaration format changed.
Behavioral contract
The examples use the existing opt-in facade. The runtime translation API remains unchanged. The compiler regression covers fully qualified and namespace-relative calls.
Platform consistency governance (SSOT)
The English and Korean package examples remain aligned. The documentation governance check passed; no platform contract or enforcement code changed.
This change and the local reviews were AI-assisted. No manual human review is claimed here.