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

Allow serializing undefined in object literals #1314

Open
wants to merge 6 commits into
base: static_h
Choose a base branch
from

Conversation

neildhar
Copy link
Contributor

Summary:
Optional fields and fields that refer to other classes are initialised
to undefined, which means that we often end up with undefined in
literals now.

To address this, add the ability to serialize undefined, at the expense
of eliminating the ByteString tag.

Differential Revision: D45014095

neildhar and others added 6 commits February 15, 2024 19:49
Differential Revision: D53838779
Differential Revision: D29775882
Summary:
Optional fields and fields that refer to other classes are initialised
to `undefined`, which means that we often end up with `undefined` in
literals now.

To address this, add the ability to serialize undefined, at the expense
of eliminating the `ByteString` tag.

Differential Revision: D45014095
@facebook-github-bot facebook-github-bot added the CLA Signed Do not delete this pull request or issue due to inactivity. label Feb 16, 2024
@facebook-github-bot
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed Do not delete this pull request or issue due to inactivity. fb-exported
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants