Decide a selector names a row by its key alone, a route through another row is another path, and a step up may not step back down
This commit is contained in:
@@ -174,10 +174,16 @@ by a `data-import/` script, as README goal 12 asks.
|
||||
|
||||
- Step up from a row to its parent as the decision "A link column after a row steps up
|
||||
to the parent row, and a path may not end on it" states: `city[Oslo].country.name` is
|
||||
a load error today, and `city[Oslo].country` renders the cell `NO`, as
|
||||
a load error today, `city[Oslo].country.city.name` draws a city, and
|
||||
`city[Oslo].country` renders the cell `NO`, as
|
||||
`locality.municipality` does, which `List` stops advertising. Replace the README's
|
||||
`city[Oslo].country` example with `fejkdata -d ./mydata 'city[Oslo].country.name'`,
|
||||
rendering `Norway`.
|
||||
- Select a row by its key alone, as the decision "A selector names a row by its key
|
||||
alone" states: `geo.SE.municipality[Lund]` and `misc.territory[Sweden]` select a row
|
||||
today, where the error should name `[1281]` and `[SE]`. Refuse a `name` option beside
|
||||
`key`, which then selects nothing, drop it from the shipped tables, and state the
|
||||
README's selectors and `CHANGELOG.md`'s "a path selects a row by key or name" to match.
|
||||
- Render selected rows as the decision "A selected row is fixed, not drawn, and an
|
||||
unnamed read beside it is refused" states: `New` refuses
|
||||
`{/misc.territory[SE].capital} / {/misc.territory[FI].capital}` today, and a choice
|
||||
@@ -227,12 +233,6 @@ by a `data-import/` script, as README goal 12 asks.
|
||||
|
||||
### Open questions to settle
|
||||
|
||||
- Decide what a path stepping up and back down renders, per goal 4's writer check:
|
||||
`city[Oslo].country.city.name` could be Oslo or a city of Norway drawn afresh.
|
||||
- Decide whether a route through another row is a second spelling of one result:
|
||||
`city[Oslo].country.name` and `country[NO].name` always render `Norway`, and goal 4
|
||||
refuses a second spelling, while `country[NO]` and `country[Norway]` both select one
|
||||
row today.
|
||||
- Decide whether a goal 5 violation joins the comprehension gate's exception list: the
|
||||
`{/sel}|{/sel}` panic waits behind the whole round at 5.9, and
|
||||
`{/geo.SE.locality}|{/geo.SE.municipality}` mispairs the shipped data meanwhile, though a
|
||||
|
||||
Reference in New Issue
Block a user