Skip to content

Ensure that clone handles non-plain object types #186

@peterdemartini

Description

@peterdemartini

Discovered in #183, the clone function silently ignores object values that are not a plain object, like Date or a es6 class. This is dangerous because it creates a false sense of security and inconsistent behavior.

We should find a way to fix or communicate this behavior, i.e. logging, throwing, or stat collection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions