Clarify layering actions start from full parent data

This commit is contained in:
Mark Burnett 2017-07-28 14:32:36 -05:00
parent 66f801db00
commit 4d302fa452

View File

@ -165,13 +165,13 @@ When rendering a particular document, you resolve the chain of parents upward
through the layers, and begin working back down each layer rendering at each through the layers, and begin working back down each layer rendering at each
document in the chain. document in the chain.
When rendering each layer, the list of `actions` will be applied in order. When rendering each layer, the parent document is used as the starting point,
Supported actions are: so the entire contents of the parent are brought forward. Then the list of
`actions` will be applied in order. Supported actions are:
* `merge` - a "deep" merge that layers new and modified data onto existing data * `merge` - "deep" merge child data at the specified path into the existing data
* `replace` - overwrite data at the specified path and replace it with the data * `replace` - overwrite existing data with child data at the specified path
given in this document * `delete` - remove the existing data at the specified path
* `delete` - remove the data at the specified path
After actions are applied for a given layer, substitutions are applied (see After actions are applied for a given layer, substitutions are applied (see
the Substitution section for details). the Substitution section for details).