Repository navigation
0.26.0-alpha
Pre-release
Pre-release
·
10 commits
to main
since this release
Added
- YAML
setmatches or creates an item in an array of objects — the lastsetgap. The same
command and$elemMatchoverlay shape as JSON (--match key=Rules --match role=Admin --set enabled=truewrites a patch, never an array position), resolved at merge time against the
document as merged so far, with the same upsert, ambiguity and same-item rules
(YamlElemMatchResolver, ported fromJsonElemMatchResolver). One deliberate difference:
conditions compare by text, not type — an unquoted YAML scalar's type depends on the reader, so
enabled=truematches bothenabled: trueandenabled: "true". Valuessetwrites follow
YAML's value-typing rule. Seedocs/FIELD_AUTHORING_DESIGN.md's "YAML array-of-objects matching".