After updating Ecto to 3.2.0, I get the following warnings for each use of EctoEnum:
warning: function embed_as/1 required by behaviour Ecto.Type is not implemented (in module Module.Enum)
lib/namespace/module.ex:9: Module.Enum (module)
warning: function equal?/2 required by behaviour Ecto.Type is not implemented (in module Module.Enum)
lib/namespace/module.ex:9: Module.Enum (module)
I guess to prevent this warnings from showing up changing the macro would be sufficient.
After updating Ecto to 3.2.0, I get the following warnings for each use of EctoEnum:
I guess to prevent this warnings from showing up changing the macro would be sufficient.