Kina.Schema (Kina v0.1.0) View Source

Link to this section Summary

Link to this section Types

Specs

field() :: {atom(), type(), Keyword.t()}

Specs

type() :: atom() | {atom(), type()}

Link to this section Functions

Link to this macro

field(name, type, opts \\ [])

View Source (macro)

Specs

kina_schema?(atom()) :: boolean()

Specs

parse(map(), atom()) :: struct()