-
-
Notifications
You must be signed in to change notification settings - Fork 779
Closed
Description
Description
I would like to propose a plugin mechanism to the request handling flow.
The idea is to enable the registration of functions / decorators on predefined hooks,
to later be triggered at certain points of the request life-cycle.
I would also like o be able to set the order of these plugins execution.
Some examples of possible plugins:
- Logging
- Authentication
- Metric collection
The plugins could be initialized at the app definition.
The implementation could be very similar to the current custom validators, but free of the current assumptions (the validators are only triggered when needed, and not on every incoming request).
romfreiman, eranco74, ancelotpinto and superChingancelotpinto and superChing
Metadata
Metadata
Assignees
Labels
No labels