Skip to content

Compilation warnings on Elixir 1.11 #28

@crbelaus

Description

@crbelaus

Compiling waffle_ecto on Elixir 1.11 throws the following warning

==> waffle_ecto
Compiling 4 files (.ex)
warning: Ecto.Changeset.apply_changes/1 defined in application :ecto is used by the current application but the current application does not directly depend on :ecto. To fix this, you must do one of:

  1. If :ecto is part of Erlang/Elixir, you must include it under :extra_applications inside "def application" in your mix.exs

  2. If :ecto is a dependency, make sure it is listed under "def deps" in your mix.exs

  3. In case you don't want to add a requirement to :ecto, you may optionally skip this warning by adding [xref: [exclude: Ecto.Changeset]] to your "def project" in mix.exs

  lib/waffle_ecto/schema.ex:89: Waffle.Ecto.Schema.do_apply_changes/1

Generated waffle_ecto app

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