method
BlockRegistry.Bind
Bind returns a detached field graph with read-only referenced branches. Policy closures remain application-owned and execute normally per occurrence.
Arguments
| Argument | Type | Description |
|---|---|---|
fields | Fields | The fields value. |
Returns
The declared result.
(Fields, error)Full signature
func (r BlockRegistry) Bind(fields Fields) (Fields, error)Related types
BlockRegistryBlockRegistry owns immutable, centrally declared block definitions. Bind makes references traversable without granting a referencing resource mutation rights.
FieldsFields is the ordered list assigned to ridu.Collection.Fields, ridu.Global.Fields, or a nested field constructor. Populate it with Nodes from this package's constructors. Ridu snapshots the caller-owned slice during construction, editing, and config resolution.