Skip to content

Serialize difference between models and collections #137

@gaperton

Description

@gaperton

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 });

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions