Closed pvieira91 closed 4 years ago
Is there a way to set constants to container?
For example const config:IConfig = { connectionString: "xpto" };
Container.bind(config).provider(config).
Hi @pvieira91 . It is finally available.
I documented how to use it here.
And to put the constants in an external file, take a look here
Is there a way to set constants to container?
For example const config:IConfig = { connectionString: "xpto" };
Container.bind(config).provider(config).