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

fix(gorilla/mux): properly register operations with the router #180

Merged
merged 2 commits into from
Dec 10, 2023

Conversation

danielgtaylor
Copy link
Owner

@danielgtaylor danielgtaylor commented Dec 10, 2023

This also fixes the package name to match the import path. Crucially this should not break existing imports!

Fixes #179. Tested via some manual testing, but should consider adding more basic tests to the adapter packages (or maybe a new package to test each adapter with common scenarios?).

Copy link

codecov bot commented Dec 10, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (f54b62a) 92.83% compared to head (363bbff) 92.89%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #180      +/-   ##
==========================================
+ Coverage   92.83%   92.89%   +0.06%     
==========================================
  Files          17       17              
  Lines        1995     1999       +4     
==========================================
+ Hits         1852     1857       +5     
+ Misses        105      104       -1     
  Partials       38       38              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@danielgtaylor danielgtaylor merged commit f875445 into main Dec 10, 2023
5 checks passed
@danielgtaylor danielgtaylor deleted the fix-gmux-register branch December 10, 2023 17:13
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.

[gorilla/mux] Same route with different methods does not work
1 participant