Skip to content

ref: simplify routing dispatcher and improve request object consistency#56

Merged
BizWiz3 merged 1 commit intomainfrom
enhancement
Apr 28, 2026
Merged

ref: simplify routing dispatcher and improve request object consistency#56
BizWiz3 merged 1 commit intomainfrom
enhancement

Conversation

@Leoj030
Copy link
Copy Markdown
Collaborator

@Leoj030 Leoj030 commented Apr 28, 2026

  • Refactor routerDispatcher in src/core/routing.luau for better readability and performance.
  • Improve body parser selection logic by using a more robust content-type extraction.
  • Ensure query, headers, and params are initialized with default values in src/utils/chain.luau.

- Refactor `routerDispatcher` in `src/core/routing.luau` for better readability and performance.
- Improve body parser selection logic by using a more robust content-type extraction.
- Ensure `query`, `headers`, and `params` are initialized with default values in
     `src/utils/chain.luau`.

Co-authored-by: Copilot <copilot@github.com>
@BizWiz3 BizWiz3 merged commit 2616564 into main Apr 28, 2026
1 check passed
@BizWiz3 BizWiz3 deleted the enhancement branch April 28, 2026 04:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants