Open RobertCharron opened 2 years ago
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.
Any news on this?
@exipnus I think there are already environment variables set up. However it doesn't seem well documented.
See this code
You can see TYPEORM_SEEDING_FACTORIES
and TYPEORM_SEEDING_SEEDS
are read.
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