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

Rename weakAssign to assign(to:onWeaklyHeld:) #442

Merged
merged 1 commit into from
Feb 24, 2022

Conversation

mallexxx
Copy link
Collaborator

@mallexxx mallexxx commented Feb 24, 2022

Task/Issue URL:
Tech Design URL:
CC:

Description:
Follow-up after discussion #402 with @bwaresiak:
Rename Publisher.weakAssign to Publisher.assign(to:onWealyHeld) improving code readability, as "weakAssign" may cause confusion that it's assigning weak value instead of assigning on a weakly held object

Steps to test this PR:
1.
1.

Testing checklist:

  • Test with Release configuration

Internal references:

Software Engineering Expectations
Technical Design Template
When ready for review, remember to post the PR in MM

Copy link
Collaborator

@bwaresiak bwaresiak left a comment

Choose a reason for hiding this comment

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

Awesome @mallexxx 👍

@mallexxx mallexxx merged commit 663a033 into develop Feb 24, 2022
@mallexxx mallexxx deleted the alex/weak-assign-rename branch February 24, 2022 10:28
samsymons added a commit that referenced this pull request Feb 25, 2022
# By Sam Macbeth (2) and others
# Via GitHub
* develop:
  Top autofill (#432)
  Option to add new notes or edit existing is disabled (#446)
  Use our own autoconsent fork (#444)
  New Feedback Form (#424)
  Update privacy dashboard (#440)
  Fix crash when background tabs trigger cookie popup (#439)
  Update clickToLoadConfig.json (#435)
  rename weakAssign to assign(to:onWeaklyHeld:) (#442)
  Improve Safari favorite importing (#436)

# Conflicts:
#	DuckDuckGo.xcodeproj/project.pbxproj
#	DuckDuckGo.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants