Skip to content

Extract shared HTTP server middleware behavior - #1393

Merged
asika32764 merged 2 commits into
masterfrom
copilot/extract-server-middleware-methods
Nov 8, 2026
Merged

asika32764 merged 2 commits into
masterfrom
copilot/extract-server-middleware-methods

Conversation

Copilot AI commented Nov 8, 2026 •

Copy link
Copy Markdown
Contributor

HTTP servers that run middleware duplicated middleware state and configuration methods. This change moves that shared behavior into a reusable trait.

  • Shared middleware API: Add MiddlewareAwareTrait with middleware registration, queue access, and resolver configuration.
  • Server adoption: Use the trait in HttpServerTrait and ReactServer, preserving their request execution paths.
  • Coverage: Update the ReactServer integration test to exercise middleware resolution.

Copilot AI linked an issue Nov 8, 2026 that may be closed by this pull request
Co-authored-by: asika32764 <1639206+asika32764@users.noreply.github.com>
Copilot AI changed the title [WIP] Extract server middleware methods to trait Extract shared HTTP server middleware behavior Nov 8, 2026
Copilot AI requested a review from asika32764 November 8, 2026 04:10
@asika32764
asika32764 marked this pull request as ready for review November 8, 2026 05:37
@asika32764
asika32764 merged commit 6b44356 into master Nov 8, 2026
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.

Extract Server middleware metohds

2 participants