Skip to content

unhandled error in ActionParameterHandler.prototype.handleValue() #655

Closed
@mitjacotic

Description

@mitjacotic

If param.transform() method returns null as a value, the isValueEmptyObject is not set correctly:

const isValueEmptyObject = typeof value === 'object' && Object.keys(value).length === 0;

   
      // typeof null = 'object'
      // Object.keys(null) throws error

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: has PRIssues which has a related PR closing the issue.type: fixIssues describing a broken feature.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions