combineRoutes
Combines routing for different Effects, prefixed with path passed as a first argument.
Importing
Type declaration
Parameters
parameter
definition
path
string
configOrEffects
RouteCombinerConfig | Array<RouteEffect | RouteEffectGroup>
RouteCombinerConfig
parameter
definition
effects
Array<RouteEffect | RouteEffectGroup>
middlewares
<optional> Array<HttpMiddlewareEffect>
Returns
Factorized RouteEffectGroup
object.
Example
Last updated