Repository navigation
Closed
Description
Tracks what thomasfosterau/gardeneria#1263 needs from this package before gardeneria adopts the server presets (ServerErrors, Negotiation, Assemble, Group.flat, ResourceHandlers).
The owner decided on gardeneria#1263 (2026-10-23): fix upstream whatever still reproduces after a re-survey; gardeneria keeps its own code until a release carries each fix; O2 and O9 are accepted as they are; O3 and O7 are re-checked and reported, not changed.
Re-survey against trunk b66ad77 (2026-11-07)
| Item | Status | Issue |
|---|---|---|
| O1 error funnel | Reproduces. ApiError.Conflict (every ApiError.make class) copies a detail field into meta and emits an empty meta: {}; RespondOptions.materialise runs after fromTaggedError, so an app can't override a mapping. |
#565 |
| O4 negotiation | (a) Reproduces: no extensions option, so an unknown ext= URI dispatches. (b) Reproduces: text/markdown;charset=utf-8 falls back to HTML. (c) Not a gap: Verdict.representation already names the winning alternate. |
#566 |
| O5 default capabilities | No-hook default: not a gap (capabilities: Assemble.roleCapabilities(…) is the app's default). Stamping on included: reproduces, and a hook can't tell primary from included. Needs a design decision. |
#567 |
| O6 statuses | Reproduces (create 201, delete 204). Spec check: 200 isn't a JSON:API create status; 200 with a meta-only body is a legal delete. Recommendation: create stays 201; delete becomes configurable. Needs the owner's decision. | #568 |
| O8 pagination | edgePage drops filter / sort from its links: reproduces. linkTotal / lastUnknown: reproduces; needs gardeneria's semantics. |
#569 |
| O2, O9 | Accepted as they are (owner); no work. | — |
| O3 include errors (not decided) | source.parameter: "include" is now carried by both UnsupportedIncludePath and UnsupportedIncludeDepth, which also carry meta.includablePaths. The title and detail wording still differ from gardeneria's ("Unsupported Include Path" / "Unsupported Include Depth"). Empty-segment normalisation: Query.IncludeList drops empty comma-separated entries ("a,,b") and trims whitespace, but doesn't normalise empty path segments ("author..name", "author."); those are refused as UnsupportedIncludePath. Not changed, per the decision. |
— |
O7 Group.flat include (not decided) |
Still as described: Group.flat's get takes Endpoint.FlatGetQuery (include as optionalKey(IncludeList)), and list advertises it too, whether or not the family has an include surface. The included union shape wasn't re-verified in detail. Not changed, per the decision. |
— |
PRs follow per issue; this issue gets each PR's number as it opens.
Generated by Claude Code
Metadata
Metadata
Assignees
Labels
No labels
Activity
thomasfosterau commentedon Nov 7, 2026
PRs so far:
RespondOptions.override, and no emptymeta. The remainingmeta.detailcopy is an owner decision on ServerErrors/ApiError: Conflict duplicates detail into meta, and respond can't override a mapping (gardeneria#1263 O1) #565.Negotiationextensions, and a parameterised alternate can win.edgePageforwardsquery.linkTotal/lastUnknownare parked on Assemble.edgePage drops the request query from its links; Pagination lacks linkTotal / lastUnknown (gardeneria#1263 O8) #569 until gardeneria confirms the semantics.Generated by Claude Code
thomasfosterau commentedon Nov 12, 2026
Status (2026-11-12 sweep)
RespondOptions.override, no emptymeta, and nometa.detailcopy (Breaking, minor).capabilitiesOnIncluded?: boolean, defaulttrue, per the owner's decision. CI is green.edgePageforwardsquery(#571);Pagination.linkTotal/lastUnknown(#587).Also app-facing: #580 adds the JSON:API representation for effect-ext's generic
Negotiate(#577), and #589 accepts effect-ext 0.2 (#585). Open after #582 merges: nothing from gardeneria#1263.Generated by Claude Code
thomasfosterau commentedon Nov 12, 2026
Closing: every gardeneria#1263 item is now resolved on trunk (4a3bce1). O5 was the last open item, and #582 merged it as ae9270d (
capabilitiesOnIncluded).Gardeneria's adoption is tracked in gardeneria's tracker. It is blocked until a release carries #582: the open "Version Packages" PR #583.
Generated by Claude Code