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

Move the routing context implementation to a separate method instead of failing the context within the constructor #2666

Merged
merged 1 commit into from
Oct 23, 2024

Conversation

vietj
Copy link
Contributor

@vietj vietj commented Oct 23, 2024

Motivation:

The implementation of routing context might fail the context within its constructor forcing the router to check the context status before routing the request.

Changes:

Create package private route method that performs the preliminary checks of the routing context and calls the routing context handler chain whenever the checks have passed

@vietj vietj added this to the 5.0.0 milestone Oct 23, 2024
@vietj vietj self-assigned this Oct 23, 2024
…of failing the context within the constructor.

Motivation:

The implementation of routing context might fail the context within its constructor forcing the router to check the context status before routing the request.

Changes:

Create package private route method that performs the preliminary checks of the routing context and calls the routing context handler chain whenever the checks have passed
@vietj vietj merged commit b1ac9e0 into master Oct 23, 2024
7 checks passed
@vietj vietj deleted the routing-context-route branch October 23, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

1 participant