Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add RouterMiddlewareObject #609

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

Symbitic
Copy link
Contributor

@Symbitic Symbitic commented Jun 3, 2023

This follows up on my last PR to add middleware objects by doing the same thing to routers.

One advantage of objects for routers is that one object can handle multiple routes (see routingServer.ts for an example that handles /orders and /orders/:order).

@Symbitic
Copy link
Contributor Author

Bump

@Symbitic
Copy link
Contributor Author

@kitsonk I'd really like this merged for a large-scale project I have planned.

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.

None yet

1 participant