Skip to content

Update README.md - example for map/reduce with nested properties.#182

Open
ebbishop wants to merge 1 commit into
mapbox:mainfrom
ebbishop:main
Open

Update README.md - example for map/reduce with nested properties.#182
ebbishop wants to merge 1 commit into
mapbox:mainfrom
ebbishop:main

Conversation

@ebbishop

@ebbishop ebbishop commented Jul 21, 2021

Copy link
Copy Markdown

This PR adds context and an example for how to handle nested properties in the reduce method and avoid unexpected aggregations.

@ebbishop

Copy link
Copy Markdown
Author

Would clarify the confusion in #150.

@uazure

uazure commented Jun 11, 2024

Copy link
Copy Markdown

Thanks man! Sound like a solution to our problem. Just a clear explanation what to do and what not do

@BastiaanStuck

Copy link
Copy Markdown

Thanks, this saved me after a few hours of debugging! I already tried various ways of cloning the object, including structuredCopy, but to no avail...

Would be nice if this could be merged, since so far at least 3 people got caught on this.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants