Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nested geoJson properties are copied by reference #215

Open
mrkwanzaa opened this issue Feb 27, 2023 · 0 comments · May be fixed by #216
Open

Nested geoJson properties are copied by reference #215

mrkwanzaa opened this issue Feb 27, 2023 · 0 comments · May be fixed by #216

Comments

@mrkwanzaa
Copy link

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.

@mrkwanzaa mrkwanzaa linked a pull request Feb 27, 2023 that will close this issue
oscarfonts added a commit to geomatico/supercluster that referenced this issue Mar 18, 2024
oscarfonts added a commit to geomatico/supercluster that referenced this issue Mar 18, 2024
oscarfonts added a commit to geomatico/supercluster that referenced this issue Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants