We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be great to set different config for development test production. What do you think about this?
development
test
production
The text was updated successfully, but these errors were encountered:
Yeah, looks like a nice enhancement.
Sorry, something went wrong.
Actually, this functionality can be easily implemented using the following code:
let actorSystem = actors({ config: `./actors-${process.env.COMEDY_MODE || 'prod'}.json` });
I don't think we need something more complex than the above.
I think an issue with this is that it seems not straightforward in typescript to access the global actor system configuration, I have to do this:
(system as any).options.config
to access the global config.
No branches or pull requests
It would be great to set different config for
development
test
production
. What do you think about this?The text was updated successfully, but these errors were encountered: