sequence of maps rejected by Kwalify if indentation missing
Brought to you by:
kwatch
Dear Mr. Kuwata,
I attached a small example schema and yaml document, which should demonstrate a bug concerning a sequence of maps.
The latter is not accepted by Kwalify in case each array/sequence element is on the same indentation level as the sequence definition itself.
The following yaml is not accepted by Kwalify:
---
myCollections:
- !Collection
item1: foo
item2: bar
On the other hand, the following version *will* be accepted:
---
myCollections:
- !Collection
item1: foo
item2: bar
(NOTE: all lines starting from "- !Collection" are indented by one whitespace to the right)
Thanks in advance,
Best wishes
archive containing kwalify schema, yaml document and a small ruby script for demonstration purpose