Development record
The artefact-kind reader decodes with plain encoding/json: a duplicate top-level key takes the last value ({"kind":"wasm","kind":"binary"} reads as binary) and lockstep object entries decode case-insensitively ({"PATH":..,"JSON_POINTER":..} accepted) while the top level refuses Kind.
issueresolvedminoriss-2609260149249724
The artefact-kind reader decodes with plain encoding/json: a duplicate top-level key takes the last value ({"kind":"wasm","kind":"binary"} reads as binary) and lockstep object entries decode case-insensitively ({"PATH":..,"JSON_POINTER":..} accepted) while the top level refuses Kind.
Grounds
- pursued: a declaration with a repeated kind, a repeated entry path or an upper-case entry key is refused before any verb writes; TestParseArtefactRefusesRepeatedAndCaseFoldedKeys accepting any of them would show it wrong
Frontmatter
| id | iss-2609260149249724 |
|---|---|
| type | issue |
| lifecycle | resolved |
| severity | minor |
.abcd/work/issues/resolved/iss-2609260149249724-the-artefact-kind-reader-decodes-with.md
open on GitHub ↗ · commit history ↗