Dry.Types.Any (dry v0.1.9)

Represents any type

Examples:

schema do
  attribute :field_1, Types.Any
  attribute :field_2, Types.Any.options(optional: true)
  attribute :field_3, Types.Any.options(default: "anything")
end

Link to this section Summary

Functions

Valid options are :default and :optional

Link to this section Functions

Link to this function

options(opts \\ [])

Valid options are :default and :optional