Skip to content

feat: Add identifiers to default config handlers so they can be extended - #2268

Open
jeswr wants to merge 1 commit into
CommunitySolidServer:mainfrom
jeswr:feat/extensible-config-ids
Open

jeswr wants to merge 1 commit into
CommunitySolidServer:mainfrom
jeswr:feat/extensible-config-ids

Conversation

@jeswr

@jeswr jeswr commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

✍️ Description

Adds an @id to some handlers in the default configs that had none, so a custom config can add entries with an OverrideListInsertBefore override instead of copying the whole file:

  • the final StaticThrowHandler of the operation handlers, the HTTP modes extractors, the patch modes extractors and the store patchers;
  • the patch modes extractor and store patcher waterfalls;
  • AuthorizingHttpHandler and WacAllowHttpHandler in ldp/handler/default.json, so the handlers they wrap can be replaced with overrideParameters.

No behaviour changes. The integration tests pass, and I checked with a local config that inserting into these lists works.

I used Claude Code to help write this change.

✅ PR check list

  • Make sure you have personally reviewed and understood this contribution when using generative AI tools.
  • Target the correct branch based on semantic versioning.
    • main: Backwards compatible bug fixes and feature additions.
    • versions/next-major: Breaking changes, such as changes to APIs, configuration behaviour, or stored data.
  • Update documentation when relevant.
  • Update the release notes when adding new major features.

Several handlers in the default configurations had no identifier,
so a custom configuration could only add a handler to their lists by
replacing the whole configuration file. With an identifier,
Components.js overrides such as OverrideListInsertBefore can be used.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
Claude-Session: https://claude.ai/code/session_01NeSZT7mKQVVBn4vqTZ6CRn

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants