Commit b332246
authored
Comment-only follow-up to #3972 (#3843). No behaviour change.
Two sentences in package-envelope.conformance.test.ts's header were written while
#3841 was still undecided, and #3843 landed after ADR-0112 settled it:
- "why #3841 still owns the vocabulary" — it does not; ADR-0112 (#3988) closed
it and ApiErrorSchema.code is a closed union now.
- "this module needed MINTED codes" — half true. It had nothing to carry over
(its `error` strings were human messages), but only four of the codes here are
registered; the three generic conditions reuse the standard catalog, which is
what the ledger asks for.
Rewritten to state the actual split and why it makes the assertions below
load-bearing: an unregistered code fails parse, so BaseResponseSchema.safeParse is
what would catch an invented one. package-routes.ts already carried the corrected
note; this was the test file missed beside it.
Carries an empty changeset — the PR gate requires one, and this releases nothing.
1 parent 9b6fe7c commit b332246
2 files changed
Lines changed: 26 additions & 4 deletions
File tree
- .changeset
- packages/rest/src
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
23 | 31 | | |
24 | 32 | | |
25 | 33 | | |
| |||
0 commit comments