View Source AshPaperTrail.ChangeBuilders.FullDiff.EmbeddedChange (ash_paper_trail v0.3.1)

A simple attribute change will be represented as a map:

%{ created: %{ subject: %{to: "subject"} } } %{ updated: %{ subject: %{from: "subject", to: "new subject"} } } %{ unchanged: %{ subject: %{unchanged: "subject"} } } %{ destroyed: %{ subject: %{unchanged: "subject"} } }

Summary

Functions

build(attribute, changeset)

dump_data_value(changeset, attribute)