The grid (core) ยท console.warn
column '{colId}' compute threw while diffing...
Printed by The grid (core), prefixed [lattice], since 1.77.0.
Warnings reference › diff:compute-threw:*
- Identifier
diff:compute-threw:*- Raised by
- The grid (core)
- Since
- 1.77.0
What happened
A column opted into diff/audit mode with diff: true had its compute throw while the diff read the snapshot or the current value. The column is left out of that row's comparison entirely rather than the throw being swallowed into a mismatch - which would otherwise flag the row as changed regardless of whether anything really changed.
The fix
The error is attached to the console line. A computed column diffed against the snapshot is called with a synthesised row ({ key, data }), not a live one; guard against fields the live row's compute may assume are always present.
Reference
Covered in full at the API reference.