method
ChildrenDraft.EditTextList
EditTextList refines a direct primitive-list child while preserving its policies.
Arguments
| Argument | Type | Description |
|---|---|---|
name | string | The name value. |
edit | func(TextListField) TextListField | The edit value. |
Returns
The declared result.
errorFull signature
func (d *ChildrenDraft) EditTextList(
name string,
edit func(TextListField) TextListField,
) errorRelated types
ChildrenDraftChildrenDraft owns a detached slice. Committing snapshots again, so retained drafts cannot mutate published graphs. Structural edits are explicit.
TextListFieldA configurable list of strings.