Middleware to add global and specific middleware to the kernel blueprint.
This middleware processes modules marked as general middleware and associates them with the kernel's configuration in the blueprint.
The configuration context containing modules and blueprint.
The next function in the pipeline.
The updated blueprint.
MiddlewareMiddleware({ modules, blueprint }, next); Copy
MiddlewareMiddleware({ modules, blueprint }, next);
Middleware to add global and specific middleware to the kernel blueprint.
This middleware processes modules marked as general middleware and associates them with the kernel's configuration in the blueprint.