mongodb_ecto icon indicating copy to clipboard operation
mongodb_ecto copied to clipboard

Distillery ENV vars not working for Mongo Adapter

Open mthomps4 opened this issue 7 years ago • 1 comments
trafficstars

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

mthomps4 avatar Dec 05 '17 15:12 mthomps4

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.

ankhers avatar May 11 '18 01:05 ankhers