View Source AshPaperTrail.ChangeBuilders.FullDiff.Helpers (ash_paper_trail v0.1.0)

Misc helpers for building a full diff of a changeset.

Summary

Functions

Link to this function

attribute_change_map(arg)

View Source

Builds a simple change map based on the given values.

attribute_change_map({data_present, data, value_present, value})

Link to this function

attribute_changes(data_map, value_map)

View Source

Building a map of attribute changes for the embedded resource

Link to this function

build_index_change(from, to)

View Source
Link to this function

dump_value(values, attribute)

View Source
Link to this function

embedded_change_map(arg)

View Source
Link to this function

embedded_union?(type, subtype)

View Source
Link to this function

map_get_keys(resource, keys)

View Source
Link to this function

unique_id(simple_value, dumped_value)

View Source