Remove default OnyxKey type argument in OnyxUpdate#731
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
|
I have read the CLA Document and I hereby sign the CLA |
|
@OlGierd03 should we hold this until 6th batch is merged? |
I was aiming to merge the onyx pr first to wrap up Let's hold it then |
|
Adding the HOLD label to the PR title. |
|
I think we're ready to take this off hold. I believe the seventh batch covers everything there is left to be covered in this refactor (usages of default generic |
|
@OlGierd03 sounds good, I'll review this in a bit. |
|
Just FYI that there is already a Onyx bump PR happening here Expensify/App#81207, in case you are planning to make a bump PR for this one let's wait until that one is merged. |
Details
Following the preparation work completed in previous PR, this PR removes the default
OnyxKeytype argument fromOnyxUpdate.This removal was previously discussed (on Slack) and scheduled to occur once all usages in the Expensify repository had been migrated away from the default type. With the sixth batch of replacements now addressing all remaining usages, this is a good time to proceed with the deletion.
Related Issues
Expensify/App#73830
Automated Tests
N/A
Manual Tests
N/A (purely type change)
Author Checklist
### Related Issuessection aboveTestssectiontoggleReportand notonIconClick)myBool && <MyComponent />.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)Avataris modified, I verified thatAvataris working as expected in all cases)mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
N/A