Skip to content

PATCH request without update data #100

@8-3

Description

@8-3

Currently the lib allows to send a PATCH request without any attributes or relationships specified to update. Eg. {"data":{"id":"123","type":"user"}}.

A check for the content of changedItemState may be sufficient to prevent such requests.

let changedItemState = diff(initialItemState, currentItemState)

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