Skip to content

[Due for payment 2025-12-10] [Due for payment 2025-12-05] [Due for payment 2025-11-28] Remove Onyx.connect() for the key: ONYXKEYS.COLLECTION.POLICY in src/libs/PolicyUtils.ts #66397

@tgolen

Description

@tgolen

This is part of deprecating Onyx.connect. Parent Issue

Details

  • Module: src/libs/PolicyUtils.ts
  • Onyx Key: ONYXKEYS.COLLECTION.POLICY
  • Reference: Line 62: ONYXKEYS.COLLECTION.POLICY

Be sure to refactor methods using test driven development:

  1. Create a unit test for methods before refactoring
  2. Refactor the methods
  3. Ensure the unit test still runs after refactoring
  4. Reinforce the unit testing with a functional test and a QA test
  5. Once you are done, decrease the number of allowable ESLint warnings here to equal the number of Onyx.connect references remaining in the code
Issue OwnerCurrent Issue Owner: @garrettmknight / @kadiealexander
Issue OwnerCurrent Issue Owner: @garrettmknight / @kadiealexander
Issue OwnerCurrent Issue Owner: @garrettmknight / @kadiealexander
Issue OwnerCurrent Issue Owner: @garrettmknight / @kadiealexander

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.EngineeringImprovementItem broken or needs improvement.ReviewingHas a PR in reviewWeeklyKSv2

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions