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

Deprecate getStackContext #16877

Merged
merged 1 commit into from
Aug 16, 2023
Merged

Conversation

scarlettjlee
Copy link
Contributor

Mark the getStackContext APIs and ReferenceType.NestBegin/NestEnd (only used for getStackContext) as deprecated. No one uses them and it causes bookkeeping in hierBlock (rangeStacks). It's also not really tested.

The later removal is not yet scheduled (the functionality needs to be removed from a couple of our examples) but marking them deprecated should discourage new usages.

@scarlettjlee scarlettjlee self-assigned this Aug 16, 2023
@scarlettjlee scarlettjlee requested review from a team as code owners August 16, 2023 00:49
@github-actions github-actions bot added area: dds Issues related to distributed data structures area: dds: sharedstring public api change Changes to a public API base: main PRs targeted against main branch labels Aug 16, 2023
@scarlettjlee scarlettjlee merged commit 8e743fe into microsoft:main Aug 16, 2023
27 checks passed
jatgarg pushed a commit to jatgarg/FluidFramework-1 that referenced this pull request Aug 18, 2023
Mark the getStackContext APIs and ReferenceType.NestBegin/NestEnd (only
used for getStackContext) as deprecated. No one uses them and it causes
bookkeeping in hierBlock (rangeStacks). It's also not really tested.

The later removal is not yet scheduled (the functionality needs to be
removed from a couple of our examples) but marking them deprecated
should discourage new usages.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: dds: sharedstring area: dds Issues related to distributed data structures 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.

2 participants