Closed uday1kiran closed 2 years ago
yq does not support duplicate anchor names. This is a limitation of the YAML parser that yq uses, PyYAML (but even if it was not, allowing duplicate anchors in the same document is a terrible idea and I would not support it).
I have an yaml file with syntax like this.
I tried yq, eventhough in different sections, it considered lements as duplicate.