node-decorators
ApiOperation
usageparamDecoratorFactory
adds callIndex
to the param, in case if few decorators are used for the same methodHandlerCreator
abstract classMetadataScanner
moved to the coreHandlerCreator
class for handlersadapter.close
method updated for all the adaptersHandlerCreator
class for handlersconst app = await Application.create(AppModule, server);
HttpModule.create(new ExpressAdapter(app));
adapter.listen
no longer receives port:number
param, port will be forwarded to the server.listen
instance.adapter.route
was removed in favor of adapter.routes
, adapters can now register all routes at once (for example using routers) instead of one at a time.createParamDecorator
and adapter.getParam
factory will return function instead, promise-like params are causing delays in execution while awaiting for them in the handler.