Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix usage for list of strings and add some bang functions #3

Merged
merged 4 commits into from
May 30, 2021

Conversation

jesse-iluminai
Copy link

Originally provided by manuel-rubio from gjaldon#110


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.

In the same way I missed a couple of functions I usually use like cast!/1 and dump!/1. Both were added as well.

@jesse-iluminai jesse-iluminai merged commit 82c6b73 into master May 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants