Skip to content

Commit

Permalink
clarify text about '<<' promotions
Browse files Browse the repository at this point in the history
  • Loading branch information
utoddl committed Oct 14, 2019
1 parent 27d17c1 commit 087d7f6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,9 @@ after:
We can do this by adding some "`<<`" promotion prefixes to selected dict keys.
A promotion prefix is "`<<`" followed by an optional modifier:

* "`<<`" &mdash; (no modifier) promoted matching keys are replaced by promoted keys.
* "`<<|`" &mdash; promoted matching keys are deep merged, lists are joined and flattened.
* "`<<-`" &mdash; promoted matching keys are deep merged, lists are joined, flattened, and uniqified.
* "`<<`" &mdash; (no modifier) pre-existing matching keys are replaced by promoted keys.
* "`<<|`" &mdash; pre-existing and promoted matching keys are deep merged, lists are joined and flattened.
* "`<<-`" &mdash; pre-existing and promoted matching keys are deep merged, lists are joined, flattened, and uniqified.

Here's our example again with promotion prefixes applied to the "`owner`" keys:

Expand Down

0 comments on commit 087d7f6

Please sign in to comment.