Skip to content

Commit d0863ab

Browse files
committed
docs(spec): Seed.locale's rung 1 names the third source for a load with no organization — the deployment's one organization's own setting
Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01L6bhgTqqeHSwZYJmApbDCa
1 parent 15456e0 commit d0863ab

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎packages/spec/src/data/seed.zod.ts‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,8 +274,10 @@ export const SeedSchema = lazySchema(() => strictObject({
274274
* `resolveSeedLocaleForLoad` (`@objectstack/runtime`), first answer wins:
275275
* the `localization.locale` setting for the organization the rows land in
276276
* (a load that names no organization, such as a single-tenant install or
277-
* reseed or the restart heal, still reads it, and the environment override
278-
* or the `global` setting answers), counted only when somebody set it (a
277+
* reseed or the restart heal, still reads it: the environment override
278+
* answers first, then the `global` setting, then, where no wall stands and
279+
* the deployment holds exactly one organization, that organization's own
280+
* setting), counted only when somebody set it (a
279281
* value whose `source` is `'default'` is the platform's placeholder, not a
280282
* choice); then the `sys_user.locale`
281283
* of the user who installs, reseeds or founds the organization, when one

0 commit comments

Comments
 (0)