Skip to content

refactor(client-presence): rename and move acknowledgment ID type #24753

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

Merged
merged 1 commit into from
Jun 2, 2025

Conversation

WillieHabi
Copy link
Contributor

Description

Addresses nit in #24470

@Copilot Copilot AI review requested due to automatic review settings June 2, 2025 21:43
@github-actions github-actions bot added area: framework Framework is a tag for issues involving the developer framework. Eg Aqueduct base: main PRs targeted against main branch labels Jun 2, 2025
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Refactors the acknowledgment ID type in the presence protocol by renaming and relocating its alias.

  • Introduces a new AcknowledgmentId alias at the top of the file.
  • Updates references in DatastoreUpdateMessage and AcknowledgementMessage to use AcknowledgmentId.
  • Removes the old AcknowledgmentIdType alias at the bottom.
Comments suppressed due to low confidence (2)

packages/framework/presence/src/protocol.ts:35

  • [nitpick] The alias 'AcknowledgmentId' uses American spelling, but the properties and message names use British spelling ('acknowledgement'). Consider normalizing the spelling to avoid confusion.
type AcknowledgmentId = string;

packages/framework/presence/src/protocol.ts:46

  • [nitpick] Inconsistent spelling between the property 'acknowledgementId' (British) and the type alias 'AcknowledgmentId' (American). Align the spelling for clarity and consistency.
acknowledgementId?: AcknowledgmentId;

@WillieHabi WillieHabi merged commit 9e7bbd3 into microsoft:main Jun 2, 2025
33 checks passed
MarioJGMsoft pushed a commit to MarioJGMsoft/FluidFramework that referenced this pull request Jun 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: framework Framework is a tag for issues involving the developer framework. Eg Aqueduct base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants