Skip to content

Question: way to generate patch document from clr objects? #86

@mortb

Description

@mortb

Hi,
do you know any way to generate JsonPatchDocuments from clr objects? I do updates in my backend and I'd like to log the delta, and jsonpatch seems to be a good format to do that.
I'd like to do something like JsonPatchDocument delta = GenerateDelta(beforeUpdatesObj, afterUpdatesObj) if you get what I'm aiming at?

There doesn't seem to be such functionality in JsonPatch, but maybe you know of some other lib?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions