View Source AshPaperTrail.ChangeBuilders.FullDiff.EmbeddedChange (ash_paper_trail v0.2.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

Link to this function

build(attribute, changeset)

View Source
Link to this function

dump_data_value(changeset, attribute)

View Source