Dry.Types.Map (dry v0.1.9)
Represents the map type
Examples:
schema do
ttribute :field_1, Types.Map
attribute :field_2, Types.Map.options(optional: true)
attribute :field_3, Types.Map.options(default: %{hello: :world})
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