Function: AdapterMiddlewareMiddleware()
Function: AdapterMiddlewareMiddleware()
function AdapterMiddlewareMiddleware(context, next): Promise<IBlueprint>;
Middleware to add adapter-specific middleware to the blueprint.
This middleware processes modules marked as adapter middleware and associates them with the appropriate adapter configuration in the blueprint.
Parameters
context
BlueprintContext<IBlueprint, PipeClass>
The configuration context containing modules and blueprint.
next
NextPipe<BlueprintContext<IBlueprint, PipeClass>, IBlueprint>
The next function in the pipeline.
Returns
Promise<IBlueprint>
The updated blueprint.
Example
AdapterMiddlewareMiddleware({ modules, blueprint }, next);
