Replies: 1 comment
|
My vote: auto-prefixing should be opt-in, not the default - and ideally While working on
The directive and pipe already prove that not auto-prefixing works fine in practice at scale: they require the fully-qualified key, and as a direct result neither of the above problems exists for them - any number of active scopes are reachable, and the key is always statically visible in the source. For what it's worth,
So this can be decided independently of that PR without blocking it either way. My suggestion: default |
Uh oh!
There was an error while loading. Please reload this page.
I’d like to get feedback on the long-term API design around scoped translations in translateSignal / selectTranslate.
The main question is whether auto-prefixing should be the default behavior, something explicit and opt-in, or whether scoped behavior should live behind a separate API altogether.
I’m not asking about a specific implementation detail here, but about the expected developer-facing behavior:
Looking for the least surprising and most maintainable behavior long-term, especially with scopes and inline loaders.
Linked issues: #875 #891 #903
2 votes ·
All reactions