Skip to content

Commit d5746c4

Browse files
committed
test(schema-catalog): ledger the record-form stamp the lookup picker reads off the field channel
recordBeingEdited is stamped by ObjectForm and buildSectionFields and never authored, so it is a RUNTIME-ONLY ledger row, not a FormFieldSchema key. Co-authored-by: Claude <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01ADHkmTKRu1t68jcJGgRYi3
1 parent cfb2df0 commit d5746c4

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

‎ui/examples/schema-catalog/test/form-field-channel-census-12130.test.tsx‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,13 @@ const LEDGER: Readonly<Record<string, LedgerRow>> = {
331331
why: 'RUNTIME-ONLY (objectstack#28245) — object-field metadata (the spec\'s `FieldSchema.lookupAutofill`) read off the '
332332
+ 'resolved `field` stash: which fields a pick fills is a fact about the object, not about one form.',
333333
},
334+
recordBeingEdited: {
335+
readers: ['entry@fields/src/widgets/lookupRecordReference.ts'],
336+
why: 'RUNTIME-ONLY (objectstack#34197) — stamped by `ObjectForm` and `buildSectionFields` (`withRecordBeingEdited`) on '
337+
+ 'a lookup whose `lookupFilters` read `{ $record }`: the record form\'s statement that one record is being edited, '
338+
+ 'with the object each hop points at. A host that edits no single record must not be able to claim it, so no '
339+
+ 'document authors it.',
340+
},
334341
homeAmountSource: {
335342
readers: [CURRENCY],
336343
why: 'RUNTIME-ONLY (objectstack#27196) — the producers stamp the home-amount source onto the resolved field '

0 commit comments

Comments
 (0)