Skip to content

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

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?

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions