optimal v0.2.1 Optimal.Schema View Source

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %Optimal.Schema{
  allow_values: Keyword.t(),
  custom: Keyword.t(),
  defaults: Keyword.t(),
  extra_keys?: boolean(),
  opts: [atom() | {atom(), term()}],
  required: [atom()],
  types: Keyword.t()
}

Link to this section Functions

Link to this function merge(left, right) View Source
merge(t(), t()) :: t()