Skip to content

Commit 8976a86

Browse files
committed
chore(changeset): state the default flag's harm as measured
Claude-Session: https://claude.ai/code/session_017xfMoEjKUuSh2xYB8sCozp Co-authored-by: Claude <noreply@anthropic.com>
1 parent f233f22 commit 8976a86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.changeset/21334-view-container-cross-package-default.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Clause-②: no
99
- **What was wrong.** A runtime view container expands each member to `<object>.<key>`. A `list` that names no key becomes `<object>.default`, a `form` becomes `<object>.form`, and every member that names a key uses that key. Saved under another name, in another package or in none, for an object a code package ships, those expansions replaced that package's views of the same names on `GET /api/v1/meta/view?object=<object>`. The replacements were still stamped with the shipping package's `_packageId` and `_provenance: 'package'`.
1010
- On an environment-scoped kernel, the by-name read `GET /api/v1/meta/view/<name>` kept the packaged view, so the two reads disagreed.
1111
- On an unscoped kernel, the by-name read served the replacement too, for a container saved into a package or environment-wide.
12-
- The container's default list kept `isDefault: true`, so the object listed two list defaults.
12+
- The container's own default kept `isDefault: true`. It either replaced the object's default view or stood beside it as a second list default.
1313
- **What it does now.** For an object a code package ships, a container that belongs to another package, or to none, expands every member under its own name:
1414
- a `list` that names no key becomes `<object>.<container name>`;
1515
- every other member becomes `<object>.<container name>.<key>`. That covers a `list` that names its key, each `listViews` and `formViews` entry, and `form`.

0 commit comments

Comments
 (0)