DVModelReadCarrier<T> typedef
DVModelReadCarrier<T> =
void Function(T read, T edited)
How an edited T keeps the version its record was read at.
A generated model remembers the record it was loaded from beside itself,
and saves against that version. A form rebuilds the model it returns from
JSON, which remembers nothing, so without this every edit made in a form
would reach save as a model nobody read -- refused as a write with no read
version (DV-HISTORY-001).
Implementation
typedef DVModelReadCarrier<T> = void Function(T read, T edited);