WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Datagrid editable should do PATCH request instead of PUT #513

@alexander-schranz

Description

@alexander-schranz

the datagrid sends only the flat data with fields filter to the API.
On a restful API you need to send all Data on PUT.
To avoid loading all data the Datagrid should just send a PATCH request with the changed field

{
     "id": "1",
     "changedFieldName": "newValue"
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions