The field types Arc understands, and conversion between wire values and Elixir values.
A type is one of :string, :integer, :float, :boolean, :uuid, :date, :datetime,
:map, {:list, type}, a Chronicle.Concept module (a strongly typed wrapper over one
primitive), or a module that use Arc.Schema (a nested type).
Summary
Functions
Converts a wire value to the Elixir value of type.
Whether module is a Chronicle.Concept.
Resolves a concept to the primitive it wraps (:string, :integer, :float, :boolean or :uuid).
A human-readable name for a type, used in validation messages.
Whether type is one of the built-in primitive types.
Whether module is an Arc schema (declares fields with schema do ... end).
Types
Functions
Converts a wire value to the Elixir value of type.
Strings are accepted for numbers and booleans so the same function converts query-string
arguments. Returns {:ok, value} or :error.
Whether module is a Chronicle.Concept.
Resolves a concept to the primitive it wraps (:string, :integer, :float, :boolean or :uuid).
A human-readable name for a type, used in validation messages.
Whether type is one of the built-in primitive types.
Whether module is an Arc schema (declares fields with schema do ... end).