method

BlockRegistry.BindAt

BindAt includes the resource's authored path in reference diagnostics.

Arguments

ArgumentTypeDescription
fieldsFieldsThe fields value.
pathstringThe path value.

Returns

The declared result.

(Fields, error)

Full signature

func (r BlockRegistry) BindAt( fields Fields, path string, ) (Fields, error)

Source field/block_registry.go:100

Related types

  • BlockRegistry

    BlockRegistry owns immutable, centrally declared block definitions. Bind makes references traversable without granting a referencing resource mutation rights.

  • Fields

    Fields 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.