You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The container option in useExpressErver function does not work. See below.
import{useExpressServer,useContainer}from'routing-controllers';import{Container}from'typedi';functionsetup(app)constcontrollersPath=path.resolve('dist','controllers');useExpressServer(app,{controllerDirs: [controllersPath],options: {container: Container}// < Does not work});useContainer(Container);// Works}
The text was updated successfully, but these errors were encountered:
The
container
option inuseExpressErver
function does not work. See below.The text was updated successfully, but these errors were encountered: