Skip to content

Put method to update a single field deletes the unspecified fields and ask for required fields. #3856

@OscarVargasG

Description

@OscarVargasG

When i use the PUT method in any model, the method ask to fill the required fields and updated to null value the unspecified fields, (similar behavior to a POST method). Can´t update a single field!

Description/Steps to reproduce

Get method:
get
PUT:
32
Response.
response

Another case is the deletion of unspecified fields

GET:
testsswss

PUT:
ukkyuk

PUT response:
response2

GET method again:

errrase

Expected result

The expected result is a response with the updated field without modify the unspecified fields.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions