It should be okay to omit any field from a record apart from type and id.
Furthermore, when a value is unset (e.g. when a relationship is removed), the key should be deleted from the record instead of being set to null, undefined or []. This will reduce the size of the JSON string the needs to be persisted.
It should be okay to omit any field from a record apart from
typeandid.Furthermore, when a value is unset (e.g. when a relationship is removed), the key should be deleted from the record instead of being set to
null,undefinedor[]. This will reduce the size of the JSON string the needs to be persisted.