-
Notifications
You must be signed in to change notification settings - Fork 10
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
Use the Config module instead of Mix.Config is deprecated #42
base: main
Are you sure you want to change the base?
Conversation
Thank you! This has been nagging at us for a while. I meant to investigate the fix, but I spend most of my time working in Erlang so I keep forgetting about this. |
a181921
to
16134ca
Compare
@UncleGrumpy I missed a little detail in migrating to the use of the Config module. Although the deprecated use of |
Let's back out mix.lock here - I also believe this change bumps the minimum elixir version in mix.exs? |
It can be backed out if wished. However, It is not listed in
Yes, it should be 1.9, I believe there is the first deprecation warning. |
Gets rid of: warning: use Mix.Config is deprecated. Use the Config module instead config/config.exs:3
16134ca
to
482c439
Compare
Backing out mix.lock here is only to avoid conflict with how it's part of #41 - in a different shape. |
This is one thing I definitely need to defer to @bettio and @petermm as they are far more familiar with Elixir and it's tooling than I am. Don't let the fact that I contributed a few of the tasks fool you, I an am a neophyte when I comes to Elixir. ;-) |
Thanks for the links... I believe this section is speaking directly to us, and the situation here: "The only places where you may access functions from the Mix module are the mix.exs file and inside custom Mix tasks, which are always within the Mix.Tasks namespace." This seems to imply that using Mix.Config is still valid in this case. |
|
Thanks for the clarification! This is why I said I should defer to @bettio and @petermm on this. lol. |
I'm more inclined towards deleting file(and folder) or commenting out https://hexdocs.pm/elixir/1.18.2/Config.html
|
Gets rid of:
warning: use Mix.Config is deprecated. Use the Config module instead
config/config.exs:3