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

refactor(tree): move global and rename effects to the delta root #23484

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

jenn-le
Copy link
Contributor

@jenn-le jenn-le commented Jan 7, 2025

This change moves the global and renames effects out of the delta field changes and into the delta root object.

@github-actions github-actions bot added area: dds Issues related to distributed data structures area: dds: tree base: main PRs targeted against main branch labels Jan 7, 2025
*/
readonly global?: readonly DetachedNodeChanges[];
/**
* Detached whose associated ID needs to be updated.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Detached whose associated ID needs to be updated.
* Detached roots whose associated ID needs to be updated.

Comment on lines 200 to 202
export type ToDelta = (
child: NodeId,
) => [DeltaFieldMap, DeltaDetachedNodeChanges[], DeltaDetachedNodeRename[]] | undefined;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason this contract needs to change? (See the second paragraph in https://dev.azure.com/fluidframework/internal/_workitems/edit/13504)

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 base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants