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

Remove CatchAll and body ID manipulation since it should no longer be needed #3987

Merged
merged 3 commits into from Mar 12, 2024

Conversation

danielmarbach
Copy link
Contributor

@danielmarbach danielmarbach commented Mar 5, 2024

@mauroservienti and I tried to reason about the code and came to the conclusion in all the cases we either use the UniqueId() which is a deterministic ID that doesn't contain slashes or the route that would have contained slashes can never arrive because the controller would try to match a route that doesn't exist. The catch-all would not have caught these cases since it was explicitly hard-coded against only looking for cases when the body was attempted to load, which has also be changed a while ago to use the same unique ID.

…the unique message id which is a deterministic ID that doesn't contain slashes

Co-authored-by: Mauro Servienti <mauro.servienti@gmail.com>
danielmarbach and others added 2 commits March 5, 2024 11:46
…ould not contain slashes anymore

Co-authored-by: Mauro Servienti <mauro.servienti@gmail.com>
… worked

Co-authored-by: Mauro Servienti <mauro.servienti@gmail.com>
@danielmarbach danielmarbach merged commit f5db181 into master Mar 12, 2024
19 checks passed
@danielmarbach danielmarbach deleted the message-id branch March 12, 2024 09:11
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

2 participants