View Source API Reference Flint v0.6.0
Modules
The base changeset
function defined by Flint
. Flint.Changeset
uses the module attributes
that are collected when using the Flint.Schema
macros to perform transformations and validations.
Adds support for do
block in field
and field!
to add validation_condition -> error_message
pairs to the field.
Shorthand options for common validations found in Ecto.Changeset
An extension to house common default configurations for embedded schemas. These configurations are specific for in-memory schemas.
Provides JSON encoding capabilities for Flint schemas with Go-like marshalling options.
The PostTransforms
extension adds the :map
option to Flint
schemas.
The PreTransforms
provides a convenient :derive
option to express how the field is computed.
Adds supports for most of the features from the wonderful typed_ecto_schema
library.
The When
extension adds the :when
option to Flint
schemas.
Flint.Schema
provides custom implementations of certain Ecto
embedded_schema
DSL keywords.
Flint.Type
is meant to make writing new Ecto
types require much less boilerplate, because you can base your
type off of an existing type and only modify the callbacks that have different behavior.
Union type for Ecto. Allows the field to be any of the specified types.