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

[BUG] Fixed handling of invalid query params #747

Conversation

BlasterAlex
Copy link
Contributor

@BlasterAlex BlasterAlex commented Dec 21, 2023

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Go Version Update
  • Dependency Update

Description

Fix made in #712 is not an optimal solution to the problem #704, since it completely prevents the possibility of getting error ErrMethodMismatch for subrouters.

The proposed solution corrects this situation and allows correct error handling of invalid query paramaters and preserves the possibility of getting ErrMethodMismatch in subrouters.

Related Tickets & Documents

  • Related Issue
  • Closes

Added/updated tests?

  • Yes
  • No, and this is why: please replace this line with details on why tests
    have not been included
  • I need help with writing tests

Run verifications and test

  • make verify is passing
  • make test is passing

@BlasterAlex BlasterAlex deleted the fix/#739-MethodNotAllowedHandler-does-not-work-for-subrouter branch December 21, 2023 13:42
@BlasterAlex BlasterAlex changed the title [BUG #739] Fixed handling of invalid query params [BUG] Fixed handling of invalid query params Dec 21, 2023
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