Settings nodes scoping
Scoping is the operation of navigating a settings node tree by accessing child nodes of objects via names in a case-insensitive manner. A sequence of names resembling a path in the object structure, such as ["property1", "property2"] is called a scope.
Scoping does not work on value and array nodes (always results in null).
Scoping is used to map object fields/properties to nodes of settings tree during binding. It also allows to scope sources — create a source that returns a subtree of settings returned by the original source.
Examples
{A: 1}scoped toais just a value of1.{A: 1}scoped tobisnull.{A: {B: [1, 2]}}scoped toAis{B: [1, 2]}{A: {B: [1, 2]}}scoped to[A, B]is[1, 2]{A: {B: [1, 2]}}scoped to[A, B, C]isnull.
Related pages
Scope sourcesBinding nodes to modelsLast updated
Was this helpful?