Skip to content

Ensure that clone handles non-plain object types #186

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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