basalt / http/src / assertRouteMetaValid
Function: assertRouteMetaValid()
> assertRouteMetaValid(routes, container): void
Defined in: http/src/guarded-meta.ts:160
Runs every RouteMetaValidator registered in META_VALIDATORS_BUCKET over routes and throws one InvalidRouteMetaError listing every problem found. The adapters run it at boot (through assertRoutesGuarded); call it yourself when you drive runRoute() without an adapter.
Parameters
routes
readonly BasaltRoute[]
container
Returns
void