Skip to content
New issue

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

Question: Loading connection information from .ENV instead of ormconfig #199

Open
RobertCharron opened this issue Dec 6, 2021 · 2 comments
Assignees
Labels
on hold External action is required to work on this

Comments

@RobertCharron
Copy link

I am wondering if it is possible to run a command that loads the configuration for the connection from a .env file instead of from the ormconfig. This way I can keep it consistent with my NestJS project.

Thanks

@jorgebodega jorgebodega self-assigned this Dec 6, 2021
@jorgebodega jorgebodega added the on hold External action is required to work on this label Dec 6, 2021
@jorgebodega
Copy link
Collaborator

jorgebodega commented Dec 6, 2021

Hi! If i'm not wrong, typeorm is able to read all info from environment variables, so if this library cannot, is a problem.

I'm going to release a new version soon and that part is already changed, so please stay tuned.

@exipnus
Copy link

exipnus commented Jun 30, 2022

Any news on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on hold External action is required to work on this
Projects
None yet
Development

No branches or pull requests

3 participants