Skip to content

Echo binder body deserialization blanket replaces all data #2857

@pcfreak30

Description

@pcfreak30

If you have a path or query param say in a basic CRUD setup, and do a POST/PUT/PATCH for updating an entity, the body data will nuke prior parsing of those data sources forcing you to manually parse the id from c.Param

Echo should decode to a temp struct then selectively update the fields to not nuke existing struct data. There may be a way to have knobs on this as well.

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