elixir-waffle / waffle_ecto

Waffle.Ecto provides an integration with Waffle and Ecto
https://hexdocs.pm/waffle_ecto
112 stars 30 forks source link

Compilation warnings on Elixir 1.11 #28

Open crbelaus opened 4 years ago

crbelaus commented 4 years ago

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
achempion commented 4 years ago

Hi, thanks for reporting, I'll look into it.