Skip to content

Write null when ISort or SortKey is null #4132

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

Merged
merged 1 commit into from
Oct 15, 2019
Merged

Write null when ISort or SortKey is null #4132

merged 1 commit into from
Oct 15, 2019

Conversation

russcam
Copy link
Contributor

@russcam russcam commented Oct 13, 2019

This commit writes null when ISort or ISort.SortKey is null. Simply returning without writing a value can result in incorrectly formatted JSON.

Closes #4128

This commit writes null when ISort or ISort.SortKey is null. Simply returning without writing a value can result in incorrectly formatted JSON.

Closes #4128
@Mpdreamz
Copy link
Member

LGTM the test that failed is:

Tests.ClientConcepts.ConnectionPooling.BuildingBlocks.ConnectionPooling.RandomizedInitialNodes

I guess this comment came true faster then I expected

#4112 (comment)

@Mpdreamz
Copy link
Member

Opened #4134 for the failing test

@russcam russcam merged commit 71c8aae into 7.x Oct 15, 2019
russcam added a commit that referenced this pull request Oct 15, 2019
This commit writes null when ISort or ISort.SortKey is null. Simply returning without writing a value can result in incorrectly formatted JSON.

Closes #4128

(cherry picked from commit 71c8aae)
@Mpdreamz Mpdreamz deleted the fix/4128 branch November 6, 2019 19:05
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.

2 participants