Skip to content

Delete RawProps assignment operators#49030

Closed
javache wants to merge 2 commits into
facebook:mainfrom
javache:export-D68797484
Closed

Delete RawProps assignment operators#49030
javache wants to merge 2 commits into
facebook:mainfrom
javache:export-D68797484

Conversation

@javache
Copy link
Copy Markdown
Member

@javache javache commented Jan 29, 2025

Summary:
Overwriting another RawProps object via operator= is rarely what we want, and these objects should be considered immutable once constructed.

This will catch issues such as D68633985

Changelog: [General][Changed] Removed RawProps::operator=

Differential Revision: D68797484

Summary:

This was never being compiled, because we didn't import the header that set `RN_DEBUG_STRING_CONVERTIBLE`

Will look at enabling `-Wundef` to catch these.

Changelog: [Internal]

Differential Revision: D68797482
Summary:
Overwriting another RawProps object via `operator=` is rarely what we want, and these objects should be considered immutable once constructed.

This will catch issues such as D68633985

Changelog: [General][Changed] Removed `RawProps::operator=`

Differential Revision: D68797484
@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Facebook Partner: Facebook Partner labels Jan 29, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request was exported from Phabricator. Differential Revision: D68797484

javache added a commit to javache/react-native that referenced this pull request Jan 29, 2025
Summary:

Overwriting another RawProps object via `operator=` is rarely what we want, and these objects should be considered immutable once constructed.

This will catch issues such as D68633985

Changelog: [General][Changed] Removed `RawProps::operator=`

Reviewed By: sammy-SC

Differential Revision: D68797484
@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @javache in e4d1cf8

When will my fix make it into a release? | How to file a pick request?

@react-native-bot react-native-bot added the Merged This PR has been merged. label Jan 29, 2025
@javache javache deleted the export-D68797484 branch January 29, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants