Hooks#
If you need to alter some part of the request handling, there are hooks available. These hooks are basic functions receiving arguments that will help you change or make something happens when called.
Possible hooks are [before/after]Handle/({Clean,Validate,Persist}|Read)/Respond]
You can pass a HookSchema
in the hooks
key of the options
(EntityRouteOptions
) argument, available when making entity routers (using
makeEntityRouters
) or directly in the @EntityRoute
.