Skip to content

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

Merged
AndriySvyryd merged 1 commit intorelease/9.0from
Issue34434
Sep 12, 2024
Merged

[release/9.0] Change some JSON Metadata API to respect null values set explicitly.#34624
AndriySvyryd merged 1 commit intorelease/9.0from
Issue34434

Conversation

@AndriySvyryd
Copy link
Copy Markdown
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 AndriySvyryd requested review from a team, SamMonoRT and artl93 September 5, 2024 20:47
@AndriySvyryd
Copy link
Copy Markdown
Member Author

@dotnet/efteam Ping

@AndriySvyryd AndriySvyryd merged commit 40a655c into release/9.0 Sep 12, 2024
@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