4 Matching Annotations
- Sep 2022
-
stackoverflow.com stackoverflow.com
-
Yes, using custom tags. Example in Python, making the !join tag join strings in an array:
-
- May 2020
-
docs.gitlab.com docs.gitlab.com
-
Not merge the values of the keys.
This is one of the biggest limatations of
<<: *anchor
: it overwrites values of keys. It's too heavy-handed and therefore of limited use. You can only use it if you don't mind keys getting overwritten (such as if you are going to overwrite the keys below the<<:
.). -
GitLab will perform a reverse deep merge based on the keys
-
It’s an alternative to using YAML anchors and is a little more flexible and readable
-