Skip to content

Conversation

@Guria
Copy link
Owner

@Guria Guria commented Oct 5, 2024

Non opaque GeoJSON may lead to build incorrect geojson. Eg, Feature that contains non Geometry types.

BREAKING CHANGE: GeoJSON type is now opaque. Use new constructor functions (new_point, new_feature, etc.) to create GeoJSON objects instead of direct construction. This ensures type safety and prevents creation of invalid GeoJSON structures.

Non opaque GeoJSON may lead to build incorrect geojson. Eg, Feature that contains non Geometry types.

BREAKING CHANGE: GeoJSON type is now opaque. Use new constructor functions (new_point, new_feature, etc.) to create GeoJSON objects instead of direct construction. This ensures type safety and prevents creation of invalid GeoJSON structures.

Signed-off-by: Aleksei Gurianov <gurianov@gmail.com>
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