form-graph
    Preparing search index...

    Interface GraphOptions<Ext>

    interface GraphOptions<Ext> {
        scope?: (ext: Ext) => Scope | undefined;
    }

    Type Parameters

    • Ext
    Index
    scope?: (ext: Ext) => Scope | undefined

    This graph's contribution to the scope PATH, computed from resolve-time ext. Scope nests down the mount tree: a parent's segments prefix a mounted child's, so {scope: eco} over {scope: 'textFields'} buckets at eco/textFields. Fields inherit the accumulated path; a field-level plain scope APPENDS to it, and rootScope(...) is the escape hatch — absolute from the root, rootScope() meaning the bare (global) key. Returning undefined contributes nothing (fields stay at the inherited path).