Skip to content

PUT requests: Boolean values(true, false) getting converted to 1, 0 #25

@vijeysrc

Description

@vijeysrc

The boolean values, in a PUT request data load, gets stored as 0 or 1 (for false and true respectively). On research, I found in routes.js, there is a call to toNative method from utils module. The toNative method converts boolean literal values to integer numbers like 0 or 1.

I think the toNative method should convert only the string values to its native equivalent.

Please advise.

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