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
Is your feature request related to a problem? Please describe.
ExpressDataApplication.container subscription giving access to application container but if you try to use getServiceRouter(Application) to get serviceRouter instance, it will be undefined.
import { getServiceRouter } from '@themost/data';
// create data application
const app = express();
....
const dataApplication = new ExpressDataApplication();
app.use(dataApplication.middleware(app));
...
dataApplication.container.subscribe((container) => {
const router = getServiceRouter(container);
// router is empty
});
Describe the solution you'd like
Provide a new subscription or event to handle serviceRouter instance e.g.
Is your feature request related to a problem? Please describe.
ExpressDataApplication.container
subscription giving access to application container but if you try to usegetServiceRouter(Application)
to get serviceRouter instance, it will be undefined.Describe the solution you'd like
Provide a new subscription or event to handle serviceRouter instance e.g.
or
The text was updated successfully, but these errors were encountered: