Elixir
Posts on Elixir and Ecto.
-
Jul 12, 2023
Automatically Convert Ecto Atom to String
Skip manual Atom.to_string/1 calls in your Elixir code by building a custom Ecto.Type that converts atoms to strings transparently on cast.
Posts on Elixir and Ecto.
Skip manual Atom.to_string/1 calls in your Elixir code by building a custom Ecto.Type that converts atoms to strings transparently on cast.