Skip to content

Release a new version to hex.pm #293

@rmoorman

Description

@rmoorman

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions