Skip to content

Add codegen for PointPrimitive prop type diffing#52238

Closed
lenaic wants to merge 2 commits into
facebook:mainfrom
lenaic:export-D77234062
Closed

Add codegen for PointPrimitive prop type diffing#52238
lenaic wants to merge 2 commits into
facebook:mainfrom
lenaic:export-D77234062

Conversation

@lenaic
Copy link
Copy Markdown

@lenaic lenaic commented Jun 24, 2025

Summary:
Add prop diffing codegen for PointPrimitive prop type by adding a toDynamic conversion for the struct and the prop diffing conditional result update.

The addition of the toDynamic function will allow for converting the type when used in array and object types.

Changelog: [Internal]

Differential Revision: D77234062

Nick Lefever added 2 commits June 24, 2025 15:53
Summary:

For array props conversion following later in this stack, each type should have a toDynamic conversion available that can be called upon to convert all supported types to a `folly::dynamic` result.

This diff adds the toDynamic conversion function for `ImageSource`

 Changelog: [Internal]

Differential Revision: D77234063
Summary:
Add prop diffing codegen for `PointPrimitive` prop type by adding a `toDynamic` conversion for the struct and the prop diffing conditional result update.

The addition of the `toDynamic` function will allow for converting the type when used in array and object types.

Changelog: [Internal]

Differential Revision: D77234062
@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 Jun 24, 2025
@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

lenaic pushed a commit to lenaic/react-native-macos that referenced this pull request Jun 25, 2025
Summary:

Add prop diffing codegen for `PointPrimitive` prop type by adding a `toDynamic` conversion for the struct and the prop diffing conditional result update.

The addition of the `toDynamic` function will allow for converting the type when used in array and object types.

Changelog: [Internal]

Reviewed By: mdvacca

Differential Revision: D77234062
@facebook-github-bot
Copy link
Copy Markdown
Contributor

This pull request has been merged in 9b82e70.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Jun 25, 2025
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.

2 participants