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

location.logicalLocation convenience setter mishandles null #1514

Closed
ghost opened this issue May 31, 2019 · 0 comments
Closed

location.logicalLocation convenience setter mishandles null #1514

ghost opened this issue May 31, 2019 · 0 comments

Comments

@ghost
Copy link

ghost commented May 31, 2019

If you set location.LogicalLocation to null, the convenience property sets location.LogicalLocations to an array with a single null element, which serializes as "logicalLocations": [ {} ]. The right answer is for it to set location.LogicalLocations to null, which would be omitted from the serialization

@ghost ghost added the bug label May 31, 2019
@ghost ghost self-assigned this May 31, 2019
@ghost ghost closed this as completed in 1236cb5 Jun 1, 2019
@ghost ghost added the resolved-fixed label Jun 17, 2019
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

0 participants