Skip to content

Commit a5ea2da

Browse files
committed
docs(skills): the lint table and the repeater row name the parent field group, not inlineEdit
references/lint-rules.md: the three relationship rows state the trigger packages/lint/src/data-model-rules.ts reads (R5, R6, lintInlineEditBulk): whether a field group of the parent places the child (fieldGroups[].relatedList). None of the three reads inlineEdit. rules/field-types.md: a typed list is a master_detail child that a parent fieldGroups[].relatedList names. Each file pays in its own bytes. Claude-Session: https://claude.ai/code/session_01FEkQ5kDGa1ViantgrfH797 Co-authored-by: Claude <noreply@anthropic.com>
1 parent c30ce97 commit a5ea2da

3 files changed

Lines changed: 16 additions & 6 deletions

File tree

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
'@objectstack/skills': patch
3+
---
4+
5+
docs(skills): the lint table and the `repeater` row name the parent field group, not `inlineEdit`, as what places a child's rows
6+
7+
Clause-②: no
8+
Metadata-protocol: none
9+
10+
objectstack-data's `references/lint-rules.md` said three `os lint` rules trigger on `inlineEdit`. They read the parent's field groups, and the rows now say so: `relationship/line-items-inline-edit` catches a line-item `master_detail` child that no parent field group places (`fieldGroups[].relatedList`), `relationship/inline-edit-needs-bulk` a placed child whose parent or child withholds `'bulk'`, and `relationship/association-inline-edit` an association a group places. `rules/field-types.md` pointed a typed list at a child object with `inlineEdit: 'grid'`; it now points at a `master_detail` child that a parent `fieldGroups[].relatedList` names. Text only; the rule ids and the lint are unchanged, and each file pays for its new wording in its own bytes.

‎skills/objectstack-data/references/lint-rules.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ Data-model rules (in addition to naming/label/i18n):
1212
| `relationship/missing-reference` | error | lookup/master_detail without a `reference` target |
1313
| `relationship/master-detail-required` | warning; error under `controlled_by_parent` | a `master_detail` that isn't `required` (under `controlled_by_parent`, the only one may be `required: false`: the optional master) — or, under `controlled_by_parent`, is `readonly`/`system` |
1414
| `relationship/delete-behavior` | suggestion | `master_detail` without an explicit `deleteBehavior` |
15-
| `relationship/line-items-inline-edit` | suggestion | a `*_line`/`*_item` master_detail child without `inlineEdit` |
16-
| `relationship/inline-edit-needs-bulk` | warning | `inlineEdit` while the parent's or child's `enable.apiMethods` omits `'bulk'` |
15+
| `relationship/line-items-inline-edit` | suggestion | a `*_line`/`*_item` master_detail child placed by no parent field group (`fieldGroups[].relatedList`) |
16+
| `relationship/inline-edit-needs-bulk` | warning | a child a group places while the parent's or child's `enable.apiMethods` omits `'bulk'` |
1717
| `relationship/line-item-should-be-master-detail` | suggestion | a line-item-shaped child using `lookup` instead of `master_detail` |
18-
| `relationship/association-inline-edit` | warning | an association (comment/audit/activity) marked `inlineEdit` (clutters the parent form — use a detail-page related list) |
18+
| `relationship/association-inline-edit` | warning | an association (comment/audit/activity) a group places (leave it a tab) |
1919
| `rollup/missing-summary` | suggestion | a parent of numeric master_detail children with no roll-up `summary` |
2020
| `field/select-missing-options` | warning | a `select`/`multiselect`/`radio` with no `options` (or options source) |
2121
| `object/missing-name-field` | suggestion | an object with no `nameField` (ADR-0079's canonical title pointer) and no name-like field (`name`/`title`/`subject`/`label`/`full_name`/`display_name`/`code`) |

‎skills/objectstack-data/rules/field-types.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,12 +115,12 @@ only; in a grid a declared target leaves the same-named `autofill` copy.
115115

116116
## Embedded (JSON sub-objects)
117117

118-
Stored as JSON on the parent row — no separate table / FK:
118+
Stored as JSON on the parent row, no separate table/FK:
119119

120120
| Type | When to Use |
121121
|:-----|:------------|
122-
| `composite` | Single embedded JSON object, **untyped** — a field declares no sub-fields (`fields` / `subFields` are refused) |
123-
| `repeater` | Embedded JSON **array**, **untyped** — no sub-fields or `columns`; a typed list is a child object (`master_detail`, `inlineEdit: 'grid'`) |
122+
| `composite` | Single embedded JSON object, **untyped**: a field declares no sub-fields (`fields`/`subFields` are refused) |
123+
| `repeater` | Embedded JSON **array**, **untyped**: no sub-fields or `columns`; a typed list is a `master_detail` child a parent `fieldGroups[].relatedList` names |
124124
| `record` | Name-keyed **map** of embedded sub-objects (insertion order = display order; ADR-0007) |
125125

126126
## Calculated

0 commit comments

Comments
 (0)