Closed dvic closed 3 years ago
Definitions like field :foo, Ecto.Enum, values: [:bar1, :bar2] should produce a typespec like :bar1 | :bar2
field :foo, Ecto.Enum, values: [:bar1, :bar2]
:bar1 | :bar2
Definitions like
field :foo, Ecto.Enum, values: [:bar1, :bar2]
should produce a typespec like:bar1 | :bar2