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

Nullable Feature geometry #42

Closed
jfirebaugh opened this issue May 9, 2016 · 2 comments
Closed

Nullable Feature geometry #42

jfirebaugh opened this issue May 9, 2016 · 2 comments

Comments

@jfirebaugh
Copy link

According to the GeoJSON specification, the "geometry" property of a Feature can be a JSON null value. I noticed that in other respects, nullability is reflected in the Rust API via Option, but this doesn't seem to be the case for the geometry field of geojson::Feature. Is this intentional?

@frewsxcv
Copy link
Member

frewsxcv commented May 9, 2016

You are right, this was an oversight. I can make this change later today and release a new major version since this is a breaking change. Thanks for pointing this out!

@frewsxcv
Copy link
Member

Version 0.3.0 has been published that includes the fix for this. Thanks again for filing this issue! 🎊

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

No branches or pull requests

2 participants