Skip to content

v0.32.0 Node Substitution (include nodes)

Compare
Choose a tag to compare
@credmond-git credmond-git released this 06 Aug 18:20
· 89 commits to main since this release
81eedcd

$include Keyword Enhancements

The $include keyword allows you to merge a referenced config node tree into a specified path. By default, the node is merged under the current node. The order can be controlled with a numeric value:

< 0: Included below the current node.
> 0: Included above the current node.
0: Root node inclusion (default).

Nodes with identical orders have undefined behavior, and multiple nodes must have unique orders to avoid data loss. Nested includes and root/sub-node inclusions are supported.

Each include must specify a source and its parameters.