express-openapi-validator icon indicating copy to clipboard operation
express-openapi-validator copied to clipboard

Middlewares should be lazily loaded

Open wparad opened this issue 4 years ago • 0 comments

Describe the bug The middlewares when not being used are still imported into memory and unnecessarily take up time loading.

Expected behavior Only the middlewares that are going to be used should be imported.

wparad avatar Jun 02 '21 11:06 wparad