Open mthomps4 opened 6 years ago
ENV vars are not making a full connection through the Mongo.Ecto Adapter. Distillery build with ENV Vars:
REPLACE_OS_VARS, DB_NAME, DB_HOST, DB_PORT, HOST, PORT
Returning Empty results -- Acts like Mongo is connected?
Test case built here: https://github.com/mthomps4/MongoEcto-Envtest Details outlined in README.md
This is happening because we are taking the configuration at compile time here. I believe this is the expected behaviour for Ecto 2.1. Once I can finally update things for Ecto 2.2+, you should not have this problem anymore.
ENV vars are not making a full connection through the Mongo.Ecto Adapter. Distillery build with ENV Vars:
Returning Empty results -- Acts like Mongo is connected?
Test case built here: https://github.com/mthomps4/MongoEcto-Envtest Details outlined in README.md