diff options
| author | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-11-22 17:04:30 +0000 |
|---|---|---|
| committer | Pjotr Prins <pjotr.public01@thebird.nl> | 2026-11-22 17:04:30 +0000 |
| commit | 5eb207b0c5989d886e671372023bdb66abb679db (patch) | |
| tree | bc5efe7b528b7537fd76f48309f7633635ddd39c /src/json_errors.rs | |
| parent | 1dab76d396a008d92dcdf43a61ca6877ba3f1780 (diff) | |
| download | genenetwork4-5eb207b0c5989d886e671372023bdb66abb679db.tar.gz | |
next: say which links are templates, instead of leaving braces to guess
A scan reply carried "/groups/BXD/genotypes/%7Bversion%7D/markers/.../classes?
trait={trait_id}" and "/groups/unlisted/genotypes/{name}/frequencies" in `next`,
where the documented rule is that following a `next` link is a GET that answers
200. Those two are shapes, not addresses: the trait id a scan cannot know, a
file name no group lists. The test suite skipped hrefs with braces, so the rule
held only by exemption.
NextAction gains `template: true` for exactly those, set wherever a link is
added (so no call site has to remember), and absent otherwise -- a caller can
now tell "follow this" from "fill this in" without pattern-matching on
punctuation.
Diffstat (limited to 'src/json_errors.rs')
0 files changed, 0 insertions, 0 deletions
