-
-
Notifications
You must be signed in to change notification settings - Fork 181
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
feat: groups #728
base: main
Are you sure you want to change the base?
feat: groups #728
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (1)
docs/docs/features/middleware.md:204
- The phrase 'the API instance' should be corrected to 'list of middleware'.
- [`huma.Middlewares`](https://pkg.go.dev/github.com/danielgtaylor/huma/v2#Middlewares) the API instance
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #728 +/- ##
==========================================
+ Coverage 92.78% 93.00% +0.21%
==========================================
Files 22 23 +1
Lines 5062 5248 +186
==========================================
+ Hits 4697 4881 +184
- Misses 314 315 +1
- Partials 51 52 +1 ☔ View full report in Codecov by Sentry. |
This is exactly what we needed ! Thanks @danielgtaylor. |
This PR adds a new
Group
struct & feature that takes the functionality of the excellent https://github.com/cardinalby/hureg library and ports it into Huma's core. Basic functionality looks like this:Check out the included docs for more info!
Related to #719.
Fixes #489.