Skip to content

Implement optional object props generation#54726

Closed
lenaic wants to merge 3 commits intofacebook:mainfrom
lenaic:export-D87843979
Closed

Implement optional object props generation#54726
lenaic wants to merge 3 commits intofacebook:mainfrom
lenaic:export-D87843979

Conversation

@lenaic
Copy link
Copy Markdown

@lenaic lenaic commented Nov 28, 2025

Summary:
Add support for generating native optional object properties for custom types. This also updates the serialization of the custom type instances to only include properties that are defined on the object.

Changelog: [Internal]

Differential Revision: D87843979

@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Nov 28, 2025

@lenaic has exported this pull request. If you are a Meta employee, you can view the originating Diff in D87843979.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Nov 28, 2025
Nick Lefever added 3 commits December 11, 2025 06:36
Summary:

Add support to codegen to generate native optional props for component properties that are defined as optional and have no default value.

Changelog: [Internal]

Reviewed By: sammy-SC

Differential Revision: D87843978
Summary:

See title

Changelog: [Internal]

Reviewed By: sammy-SC

Differential Revision: D87843980
Summary:

Add support for generating native optional object properties for custom types. This also updates the serialization of the custom type instances to only include properties that are defined on the object.

Changelog: [Internal]

Reviewed By: sammy-SC

Differential Revision: D87843979
@meta-codesync meta-codesync bot closed this in e581fa4 Dec 11, 2025
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Dec 11, 2025
@meta-codesync
Copy link
Copy Markdown

meta-codesync bot commented Dec 11, 2025

This pull request has been merged in e581fa4.

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. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants