Dry.Types.Atom (dry v0.1.9)
Represents the atom type
Examples:
schema do
attribute :field_1, Types.Atom
attribute :field_2, Types.Atom.options(optional: true)
attribute :field_3, Types.Atom.options(default: :atom)
end
Link to this section Summary
Link to this section Functions
Link to this function
options(opts \\ [])
Valid options are :default and :optional
Link to this function