Skip to content

[1.0.0] Consolidate server queue writing to one spot (Part 1)#223

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

[1.0.0] Consolidate server queue writing to one spot (Part 1)#223
ChadSikorra merged 5 commits into
FreeDSx:mainfrom
ChadSikorra:upgrade/generator-middleware-return-pt1

Conversation

@ChadSikorra

Copy link
Copy Markdown
Contributor

Currently, all the server handlers use the server queue directly to read / write responses as needed. This is messy and has duplicated logic and made things harder to do in one spot since it's not consolidated. This aims to move the logic into a middleware and have the handlers instead return a stream with a generator so we can pipe through the results in one spot. This way there's only one spot with logic writing to the queue and it simplifies logic in a bunch of spots.

Very messy since all the handlers and all the tests need to be touched to switch all the spots over unfortunately.

@ChadSikorra
ChadSikorra force-pushed the upgrade/generator-middleware-return-pt1 branch from c062bd6 to 9d381b7 Compare July 18, 2026 15:46
@ChadSikorra
ChadSikorra merged commit cb2be61 into FreeDSx:main Jul 18, 2026
22 of 23 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