Skip to content

[1.0.0] Consolidate server queue writing to one spot (Part 2)#224

Merged
ChadSikorra merged 2 commits into
FreeDSx:mainfrom
ChadSikorra:upgrade/generator-middleware-return-pt2
Jul 18, 2026
Merged

[1.0.0] Consolidate server queue writing to one spot (Part 2)#224
ChadSikorra merged 2 commits into
FreeDSx:mainfrom
ChadSikorra:upgrade/generator-middleware-return-pt2

Conversation

@ChadSikorra

Copy link
Copy Markdown
Contributor

This makes the middleware carry through a ResponseStream. This lets us use one middleware that handles all server queue writes (aside from auth, which is its own thing). So handers other code now only have to care about producing responses / throwing exceptions and don't need to interact with the queue at all.

…n the handler context to just the interface that exposes no queue writing, only some things that certain operations still need to do.
…e one middleware that handles all server queue writes (aside from auth, which is its own thing)
@ChadSikorra
ChadSikorra merged commit 8815cfe into FreeDSx:main Jul 18, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant