Skip to content

Serialize difference between models and collections #137

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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