Add endpoint hook support #439
Labels
difficulty: advanced
Best for maintainers to address
effort: high
4+ days of work
priority: medium
Could be fixed before next release
theme: plumb() ✨
`plumbBlock()` enhancements
type: enhancement
Adds a new, backwards-compatible feature
Milestone
Basically copy all
registerHooks
to be able to be added on the endpoints.They would be executed after router endpoints are executed at each stage.
They should be able to programmatically defined for a router in a
plumber.R
file. Similar to filters right now, but per endpoint.This allows users to white list their filters per route. HUGE
STAGE:
preroute
,postroute
,preserialize
, orpostserialize
Official names TBD.
cc @blairj09
The text was updated successfully, but these errors were encountered: