Skip to content

Gaps gardeneria#1263 needs before adopting the server presets #570

Closed

Description

@thomasfosterau

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

Activity

  1. thomasfosterau commented on Nov 12, 2026

    @thomasfosterau
    OwnerAuthor

    Status (2026-11-12 sweep)

    Item State
    O1 (#565) Merged in #573: RespondOptions.override, no empty meta, and no meta.detail copy (Breaking, minor).
    O4 (#566) Merged in #572.
    O5 (#567) #582: capabilitiesOnIncluded?: boolean, default true, per the owner's decision. CI is green.
    O6 (#568) Closed. Decided: keep 201/204, and gardeneria adapts.
    O8 (#569) Merged: edgePage forwards query (#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

  2. thomasfosterau commented on Nov 12, 2026

    @thomasfosterau
    OwnerAuthor

    Closing: every gardeneria#1263 item is now resolved on trunk (4a3bce1). O5 was the last open item, and #582 merged it as ae9270d (capabilitiesOnIncluded).

    Item Resolution
    O1 (#565) #573
    O4 (#566) #572
    O5 (#567) #582
    O6 (#568) Closed: keep 201/204
    O8 (#569) #571, #587
    O2, O9 Accepted as they are
    O3, O7 Re-checked and reported (above); not changed, per the owner's decision

    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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions