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

docs(map, tree): Explicitly call out in SharedMap and SharedTree map node APIs that no enumeration ordering is guaranteed #21146

Merged
merged 14 commits into from
May 21, 2024

Conversation

Josmithr
Copy link
Contributor

@Josmithr Josmithr commented May 17, 2024

In both of these APIs, we attempt to mirror the JavaScript Map APIs, which guarantee enumeration ordering matches insertion order. Neither SharedMap nor SharedTree make such guarantees. This PR adds documentation to make this clear to the end-user.

AB#7955

@Josmithr Josmithr requested a review from nmsimons May 17, 2024 20:56
@github-actions github-actions bot added area: dds Issues related to distributed data structures area: dds: tree public api change Changes to a public API base: main PRs targeted against main branch labels May 17, 2024
@github-actions github-actions bot added the area: framework Framework is a tag for issues involving the developer framework. Eg Aqueduct label May 18, 2024
@Josmithr Josmithr marked this pull request as ready for review May 20, 2024 17:47
@Josmithr Josmithr requested a review from a team as a code owner May 20, 2024 17:47
@Josmithr Josmithr enabled auto-merge (squash) May 20, 2024 23:48
@Josmithr Josmithr merged commit 36c9804 into microsoft:main May 21, 2024
30 checks passed
@Josmithr Josmithr deleted the tree/map-enumeration-order branch May 21, 2024 16:43
kekachmar pushed a commit to kekachmar/FluidFramework that referenced this pull request May 21, 2024
…node APIs that no enumeration ordering is guaranteed (microsoft#21146)

In both of these APIs, we attempt to mirror the JavaScript Map APIs,
which guarantee enumeration ordering matches insertion order. Neither
SharedMap nor SharedTree make such guarantees. This PR adds
documentation to make this clear to the end-user.


[AB#7955](https://dev.azure.com/fluidframework/235294da-091d-4c29-84fc-cdfc3d90890b/_workitems/edit/7955)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: dds: tree area: dds Issues related to distributed data structures area: framework Framework is a tag for issues involving the developer framework. Eg Aqueduct base: main PRs targeted against main branch public api change Changes to a public API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants