Open manuel-rubio opened 4 years ago
The following example in README.md was incorrect:
use EctoEnum, "one", "two", "three"
But even the correct one was not working:
use EctoEnum, ["one", "two", "three"]
I moved the check from defenum to be in use for EctoEnum.Use module and now it's working correctly.
defenum
EctoEnum.Use
In the same way I missed a couple of functions I usually use like cast!/1 and dump!/1. Both were added as well.
cast!/1
dump!/1
The following example in README.md was incorrect:
But even the correct one was not working:
I moved the check from
defenum
to be in use forEctoEnum.Use
module and now it's working correctly.In the same way I missed a couple of functions I usually use like
cast!/1
anddump!/1
. Both were added as well.