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

Improve middleware functionality #16

Merged
merged 1 commit into from
Dec 22, 2023
Merged

Conversation

calvinmclean
Copy link
Owner

  • Allow specifying if middlewares are for paths with ID, without ID, or both
  • Add GetRequestedResourceAndDoMiddleware to make it easier to create middlewares that access resource by ID

Copy link

codecov bot commented Dec 22, 2023

Codecov Report

Merging #16 (523e067) into main (66a56ab) will increase coverage by 0.05%.
The diff coverage is 76.00%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #16      +/-   ##
==========================================
+ Coverage   70.72%   70.78%   +0.05%     
==========================================
  Files          14       14              
  Lines         755      777      +22     
==========================================
+ Hits          534      550      +16     
- Misses        152      157       +5     
- Partials       69       70       +1     

- Allow specifying if middlewares are for paths with or without ID
- Add GetRequestedResourceAndDoMiddleware to make it easier to create
  middlewares that access resource by ID
@calvinmclean calvinmclean merged commit e52f7ed into main Dec 22, 2023
5 checks passed
@calvinmclean calvinmclean deleted the feature/improve-middleware branch December 22, 2023 20:29
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.

1 participant