Diffo.Type.NameValuePrimitive (Diffo v0.4.1)

Copy Markdown View Source

Ash TypedStruct for a named primitive value.

A name/value pair where the value is a Diffo.Type.Primitive — covering string, integer, float, boolean, date, time, datetime, and duration.

Summary

Functions

Create a new Elixir.Diffo.Type.NameValuePrimitive, or return an error

Functions

handle_change?()

new(fields)

Create a new Elixir.Diffo.Type.NameValuePrimitive, or return an error

new!(fields)

prepare_change?()