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

Enhancement: Error handling for Place without Geometry #258

Open
ajolipa opened this issue Mar 7, 2024 · 1 comment
Open

Enhancement: Error handling for Place without Geometry #258

ajolipa opened this issue Mar 7, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ajolipa
Copy link
Contributor

ajolipa commented Mar 7, 2024

Currently, when a <PlaceMarker> component is passed a Core Data place with a null Geometry field, the entire page containing the map component fails to load, with console error Coordinates must contain numbers.

Ideally, failure to load coordinates from the Core Data API should trigger some sort of fallback behavior like just rendering a general world map, so that pages don't crash if this case somehow occurs.

@ajolipa ajolipa added the enhancement New feature or request label Mar 7, 2024
@jamiefolsom
Copy link
Member

May be a dupe of performant-software/core-data-cloud#164 (or vice-versa, as this issue is more specific)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants