Skip to content

return array of objects instead array of string #9

@miedzikd

Description

@miedzikd

Hi! :)
At start I want to say that I love your library! Is really helpfull to generate change history log...
in my project we want use translated history logs... and will be a lot easier if diff instead returning array of strings will return array with changes objects e.g.

[
  {
    type: 'N',
    newValue: 'NEWVALUE',
    dotPath: 'DOTPATH',
    field: 'FIELD'
  },
  {
    type: 'E',
    oldValue: 'OLDVALUE',
    newValue: 'NEWVALUE',
    dotPath: 'DOTPATH',
    field: 'FIELD'
  },
]

what do you think about that?

Greetings from Poland :)
Daniel

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions