dwyl / dwyl/learn-elixir

`EnumType`?

Open
#181 2 comments 0 reactions 0 assignees View on GitHub
discuss enhancement help wanted technical
Dominant language
Elixir
Stars
1.7k
Forks
112
PR merge metrics
No merged PRs in 30d

Description

Has anyone used `EnumType`? ❓
https://hexdocs.pm/enum_type/readme.html

```md
Generates Enumerated type modules
that can be used as values and matched in code.
Creates proper types so Dialyzer will be able to check bad calls.
```

https://hex.pm/packages/enum_type seems like a few people/projects are using it ... 📈
![image](https://user-images.githubusercontent.com/194400/195922236-68214f1a-1ab0-4aa5-879d-6a8c66448d3e.png)

https://github.com/onboardingsystems/enum_type
![image](https://user-images.githubusercontent.com/194400/195922518-4a67e1c5-2fef-48c5-91bc-f6c1e48260cc.png)

Thinking of trying it for a feature: https://github.com/dwyl/auth/issues/220 🧑‍💻
But wondering if there is a "standard" way of doing this now in latest `Elixir` ... 💭

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.