You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the context of an application, while it's technically possible to do application:get_env(_) for another application, it's usually a bad idea.
Reasoning
Very easy to break if you don't read between the lines, and also indicating that the other application is potentially missing an API function for the same thing.
Refactoring Proposal
not do it
pull request the other application to expose proper config. access functions
The text was updated successfully, but these errors were encountered:
Name
unsafe_application_get
Brief Description
In the context of an application, while it's technically possible to do
application:get_env(_)
for another application, it's usually a bad idea.Reasoning
Very easy to break if you don't read between the lines, and also indicating that the other application is potentially missing an API function for the same thing.
Refactoring Proposal
The text was updated successfully, but these errors were encountered: