Class: Ucode::Models::Audit::FieldChange

Inherits:
Lutaml::Model::Serializable
  • Object
show all
Defined in:
lib/ucode/models/audit/field_change.rb

Overview

One scalar field that differs between two AuditReports.

‘field` is the dotted attribute name (e.g. “weight_class”). `left`/`right` are stringified values: nil → “”, String → itself, anything else → its YAML form. Comparing the YAML form of nested models is intentionally avoided here — those diffs surface as structural add/remove lists on AuditDiff itself.