Skip to content

Remove character waypoint names limit from MapboxMapMatching and MapboxDirections#941

Merged
Guardiola31337 merged 1 commit into
masterfrom
pg-character-waypoint-names-limit
Dec 17, 2018
Merged

Remove character waypoint names limit from MapboxMapMatching and MapboxDirections#941
Guardiola31337 merged 1 commit into
masterfrom
pg-character-waypoint-names-limit

Conversation

@Guardiola31337

@Guardiola31337 Guardiola31337 commented Dec 17, 2018

Copy link
Copy Markdown
Contributor
  • Removes character waypoint names limit from MapboxMapMatching and MapboxDirections

Refs. #940 (review)

This PR removes the hard-coded check for a max of 500 characters total for all waypoint names in MapboxMapMatching and MapboxDirections 👀 https://github.com/mapbox/api-directions/pull/1625

We shouldn't enforce this in the java code - the error code / message will still be returned from the server.

cc @danpaz @danpat

@danesfeder danesfeder 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.

Thanks for confirming this was okay with the Directions team @Guardiola31337 🚢

@Guardiola31337 Guardiola31337 merged commit 58b8d00 into master Dec 17, 2018
@Guardiola31337 Guardiola31337 deleted the pg-character-waypoint-names-limit branch December 17, 2018 16:31

@osana osana 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.

it would be good to modify/move tests instead of deleting them.
Directions have DirectionsError that would catch those.
Also gives customers and idea on how the Error is reported

@osana osana mentioned this pull request Dec 18, 2018
14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants