Skip to content

Add extended return format #8

@bramus

Description

@bramus

See #1 (comment) (and follow-up comments) for discussion.

The idea it to allow one to choose between returning only the value, or returning a more extended object that holds more info.

[
  {"propertyName": "margin", "value": "40px", "previousValue": "20px", "changed": true},
  {"propertyName": "color", "value": "rgb(0, 0, 0)", "previousValue": "rgb(0, 0, 0)", "changed": false}
]

This would be opt-in, through an option named ReturnFormat: VALUE_ONLY (default) or OBJECT

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