ecto_state_machine icon indicating copy to clipboard operation
ecto_state_machine copied to clipboard

feat: Support custom conversion between atomic name and DB value

Open cesariouy opened this issue 6 years ago • 1 comments

Allow custom mapping between the atomic state names and their corresponding database values.

cesariouy avatar May 11 '18 04:05 cesariouy

We'd love to use this since we cast our states to atoms in our codebase, but ecto_state_machine has trouble saving them back because they're of type Ecto.Enum

atonse avatar Aug 08 '23 21:08 atonse