Ash.Type.Atom (ash v3.7.6)
View SourceStores an atom as a string in the database
A builtin type that can be referenced via :atom
Constraints
:one_of(term/0) - Allows constraining the value of an atom to a pre-defined list:unsafe_to_atom?(boolean/0) - Allows casting to atoms that don't yet exist in the system. See https://security.erlef.org/secure_coding_and_deployment_hardening/atom_exhaustion.html for more. The default value isfalse.