-
-
Notifications
You must be signed in to change notification settings - Fork 248
Open
Labels
questionFurther information is requestedFurther information is requested
Description
If I define an Operation and attach some middleware to it, is there a way I can parse the body, params and path params into the operation input struct within the middleware?
A router agnostic middleware has access to the query parameters through the huma.Context. These query parameters are always returned as a string. Assuming I have a struct with a query tag which corresponds to the query parameters passed, can I bind the query parameters into that struct within the middleware?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested