-
Notifications
You must be signed in to change notification settings - Fork 175
Open
Description
While running updates on an existing phoenix application that is using absinthe, I got the following compilation warning:
==> absinthe_plug
Compiling 18 files (.ex)
warning: Application.get_env/2 is discouraged in the module body, use Application.compile_env/3 instead
│
5 │ @config Application.get_env(:absinthe_plug, Absinthe.Plug.GraphiQL)
│ ~
│
└─ lib/absinthe/plug/graphiql/assets.ex:5:23: Absinthe.Plug.GraphiQL.Assets (module)
Generated absinthe_plug app
When looking at the code in question it seems like the issue has already been addressed in git.
Given that the most recent version on hex.pm is version 1.5.8 is from 2021 and does not include the fix (and probably other code changes as well), and using the git version locally seems to work alright, it might be a good idea to release a new version.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels