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 null properties for Onyx.merge #350

Merged
merged 3 commits into from
Sep 19, 2023

Conversation

blazejkustra
Copy link
Contributor

@blazejkustra blazejkustra commented Sep 18, 2023

Details

While migrating Expensify/App#27355, I noticed that it's not possible to pass null to clear a value with Onyx.merge() in Typescript. This PR aims to fix that.

Side note: I opened a discussion on slack to show some inconsistency when using null in Onyx.merge.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 18, 2023

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@blazejkustra
Copy link
Contributor Author

I have read the CLA Document and I hereby sign the CLA

@blazejkustra
Copy link
Contributor Author

recheck

@blazejkustra blazejkustra marked this pull request as ready for review September 18, 2023 10:35
@blazejkustra blazejkustra requested a review from a team as a code owner September 18, 2023 10:35
@melvin-bot melvin-bot bot requested review from deetergp and removed request for a team September 18, 2023 10:35
@deetergp deetergp merged commit f4e79cd into Expensify:main Sep 19, 2023
3 checks passed
@ospfranco ospfranco mentioned this pull request Sep 20, 2023
59 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants