Skip to content

Nested geoJson properties are copied by reference #215

Description

@mrkwanzaa

When cloning a cluster in _map the assign function only shallow clones an object, copying sub-objects or arrays by reference. This can result in mutations to the original object when the accumulator is mutated in reduce.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions