Opt-in blueprint: import and register it to enable validation.
It contributes the validation service provider and the route middleware that validates what a
route declared under validation. Both stone.providers and stone.router.middleware are
arrays, so this merges with the rest of the app rather than replacing anything.
The route middleware is a no-op on routes that declare nothing, so enabling validation costs an
application that does not use it one function call per request.
Opt-in blueprint: import and register it to enable validation.
It contributes the validation service provider and the route middleware that validates what a route declared under
validation. Bothstone.providersandstone.router.middlewareare arrays, so this merges with the rest of the app rather than replacing anything.The route middleware is a no-op on routes that declare nothing, so enabling validation costs an application that does not use it one function call per request.