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

Treat null as valid metadata property #70242

Merged
merged 1 commit into from
Mar 11, 2019
Merged

Conversation

mjbvz
Copy link
Contributor

@mjbvz mjbvz commented Mar 11, 2019

Fixes #70194

This is another place in the code where undefined and null are treated differently. This small fix reverts the automatic conversion to undefined.

We should refactor this code to eliminate this hazard

@mjbvz mjbvz added this to the March 2019 milestone Mar 11, 2019
@mjbvz mjbvz self-assigned this Mar 11, 2019
@mjbvz mjbvz requested a review from bpasero March 11, 2019 18:41
Copy link
Member

@rebornix rebornix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mjbvz mjbvz merged commit a2fd00b into microsoft:release/1.32 Mar 11, 2019
@thetrompf
Copy link

It also great that empty string is no longer coersed to undefined, which could lead to weird behavior.

@egamma egamma removed this from the February 2019 Recovery 2 milestone Mar 14, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants