NestedTypes icon indicating copy to clipboard operation
NestedTypes copied to clipboard

Serialize difference between models and collections

Open gaperton opened this issue 9 years ago • 0 comments

Some way to compare models tree, and generate JSON difference.

Has numerous potential applications, such as smart save protocols based on updates rather than complete objects overwrite.

Usage examples: const json = model.toJSON({ diff : baselineModel }); model.save( null, { diff : baselineModel });

gaperton avatar Feb 18 '16 18:02 gaperton