Closed anti-social closed 8 years ago
http://yaml.org/type/merge.html specifies merging of multiple maps via aliases:
--- - &CENTER { x: 1, y: 2 } - &BIG { r: 10 } - << : [ *CENTER, *BIG ]
I tried to make a patch but I think it looks ugly: https://github.com/anti-social/rust-quire/commit/fc893d5bd0ed3df98fa2dd56bb9b64cbdf143b51
Multiple aliases work, you just just need a space after an alias *CENTER , *BIG. Same thing with bracket at the end. I should look at the spec to find out the exact way this needs to be parsed.
*CENTER , *BIG
http://yaml.org/type/merge.html specifies merging of multiple maps via aliases:
I tried to make a patch but I think it looks ugly: https://github.com/anti-social/rust-quire/commit/fc893d5bd0ed3df98fa2dd56bb9b64cbdf143b51