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

[release/9.0] Change some JSON Metadata API to respect null values set explicitly. #34624

Merged
merged 1 commit into from
Sep 12, 2024

Conversation

AndriySvyryd
Copy link
Member

Fixes #34434

Description

This is a follow up to #34401 (review)
GetContainingPropertyName, GetContainerColumnName and GetJsonPropertyName didn't respect the null value from the annotation and still calculated a default value. This change makes the behavior consistent with other similar API.

Customer impact

It's currently unlikely for a customer to hit this as they would need to set the annotation value explicitly, but it might be useful in some workarounds if new issues are discovered in this area.

How found

PR review

Regression

No

Testing

Tests added.

Risk

Low.

…ropertyName to respect null values set explicitly.

Fixes #34434
@AndriySvyryd
Copy link
Member Author

@dotnet/efteam Ping

@AndriySvyryd AndriySvyryd merged commit 40a655c into release/9.0 Sep 12, 2024
7 checks passed
@AndriySvyryd AndriySvyryd deleted the Issue34434 branch September 12, 2024 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants