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

Spatial: Fixes deserialization when Json does not represent a Spatial type #2311

Merged
merged 4 commits into from
Mar 16, 2021

Conversation

ealsur
Copy link
Member

@ealsur ealsur commented Mar 15, 2021

Pull Request Template

Description

When deserializing a Spatial type, if the raw Json was valid but did not contain a type property, a NullReferenceException was being thrown.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Closing issues

Closes #2304

@ealsur ealsur merged commit 9f9b264 into master Mar 16, 2021
@ealsur ealsur deleted the users/ealsur/nrespatial branch March 16, 2021 16:14
ealsur added a commit that referenced this pull request Mar 18, 2021
… type (#2311)

* when null

* test

Co-authored-by: j82w <j82w@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working spatial
Projects
None yet
3 participants