Closed fattouchsquall closed 7 years ago
Hello,
I resolved my problem, i must create the main entry point of my application as below:
IoC.create('http-application')
.then((httpApplication) => {
httpApplication.boot();
if (httpApplication.settings.environment === 'dev') {
httpApplication.startServer();
}
})
.catch((e) => console.log(e));
@fattouchsquall can you provide the boot()
and startServer()
code? Having trouble making it work with Class and Async/Await
Hello,
I've wrote my class as this:
In my entry point, i have this:
But all the dependencies are undefined. Can you help please?