function
EachDefinitionChildList
EachDefinitionChildList calls visit with each immediate child field list of field: a group or array's fields and each selectable block definition's fields, as DefinitionChildFields enters them. A shared definition passes the same slice at every placement, so callers can memoize by its first element.
Arguments
Full signature
func EachDefinitionChildList(
field Field,
visit func([]Field),
)Related types
FieldThe resolved contract for one field.