Skip to content

No hardcoded ids - #217

Merged
scottsfarley93 merged 5 commits into
version4from
no-hardcoded-ids
Mar 19, 2019
Merged

scottsfarley93 merged 5 commits into
version4from
no-hardcoded-ids

Conversation

@scottsfarley93

Copy link
Copy Markdown

The mapbox geocoder does not guarantee stability of the id property on returned feature. In order to ensure that the exceptions are applied even if the underlying IDs change, this PR changes the bounding box exceptions checking to use the properties.short_code on returned features, which specifies a ISO 3166-1 country code which provides a more stable identifier to check against.

  • briefly describe the changes in this PR
  • update CHANGELOG.md with changes under master heading before merging

\cc @katydecorah @yuletide

@scottsfarley93 scottsfarley93 added this to the v4.0.0 milestone Mar 18, 2019
Comment thread lib/index.js Resolved

@katydecorah katydecorah left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@scottsfarley93
scottsfarley93 merged commit 6f6c71f into version4 Mar 19, 2019
@scottsfarley93
scottsfarley93 deleted the no-hardcoded-ids branch March 19, 2019 14:39
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