Open nelsonic opened 1 year ago
Has anyone used EnumType? ❓ https://hexdocs.pm/enum_type/readme.html
EnumType
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 ... 📈
https://github.com/onboardingsystems/enum_type
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 ... 💭
Elixir
Again for my little app🙂 I just used Ecto.Enum
We've used Ecto.Enum in past projects; good shout. 👌
Ecto.Enum
Has anyone used
EnumType
? ❓ https://hexdocs.pm/enum_type/readme.htmlhttps://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
... 💭