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

improvement(routerlicious-driver): change Object.keys to Object.entries #23710

Conversation

RishhiB
Copy link
Contributor

@RishhiB RishhiB commented Jan 31, 2025

Prepare for enabling no-unchecked-record-access / noUncheckedIndexedAccess in routerlicious-driver by switching Object.keys to Object.entries. Full type safety will require additional changes in a future PR.

@RishhiB RishhiB requested review from jason-ha and a team January 31, 2025 16:04
@RishhiB RishhiB self-assigned this Jan 31, 2025
@Copilot Copilot bot review requested due to automatic review settings January 31, 2025 16:04
@github-actions github-actions bot added base: main PRs targeted against main branch area: driver Driver related issues labels Jan 31, 2025

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 6 changed files in this pull request and generated no comments.

Files not reviewed (1)
  • packages/drivers/routerlicious-driver/src/summaryTreeUploadManager.ts: Evaluated as low risk
Copy link
Contributor

@jason-ha jason-ha left a comment

Choose a reason for hiding this comment

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

Except for Object.entries change these all appear to be the code patterns that are known not to work.

@RishhiB RishhiB changed the title Enable no-unchecked-record-access to routerlicious driver improvement(routerlicious-driver): change Object.keys to Object.entries Feb 3, 2025
@RishhiB RishhiB requested a review from jason-ha February 3, 2025 19:57
Copy link
Contributor

@jason-ha jason-ha left a comment

Choose a reason for hiding this comment

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

If going to merge this, update the PR description to make it clear that enabling will happen later and requires more work

@RishhiB RishhiB merged commit 033af40 into microsoft:main Feb 6, 2025
39 checks passed
tylerbutler pushed a commit to tylerbutler/FluidFramework that referenced this pull request Feb 6, 2025
…es (microsoft#23710)

Prepare for enabling no-unchecked-record-access /
noUncheckedIndexedAccess in routerlicious-driver by switching
Object.keys to Object.entries. Full type safety will require additional
changes in a future PR.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: driver Driver related issues base: main PRs targeted against main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants