Chore: warning: Application.get_env/2 discouraged in module body, use Application.compile_env/3 #30
Labels
chore
a tedious but necessary task often paying technical debt
discuss
Share your constructive thoughts on how to make progress with this issue
enhancement
help wanted
priority-2
Second highest priority, should be worked on as soon as the Priority-1 issues are finished
T25m
Time Estimate 25 Minutes
Getting the following warnings when compiling the
MVP
project:The last one is related to
AuthPlug
which we "control". So we should update our code.This means we have an opportunity to create an
Envar.compile_env/3
functionthat proxies
Application.compile_env/3
but enhances it for usability.The text was updated successfully, but these errors were encountered: