-
Notifications
You must be signed in to change notification settings - Fork 120
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
Directions api validator cli #1189
Conversation
9e276fd
to
91171a4
Compare
With this approach, there will be issues maintaining the validation tool. Notice, it was parsing the issues fine until release 5.1.0 when modules were separated. I've since fixed this by including Foreseeing SEMVER issues. If in some version the package name is changed (com.mapbox.api.directions.v5.models.DirectionsResponse). It's not an issue today, but not sure 🤔 how to deal with it in the future. |
Ok this is expected. mapbox-java is not able to interpret geometry as a LineString
|
91171a4
to
cbfae71
Compare
5ca2a64
to
06e7e95
Compare
Ok it's all working. Give it some json, it tells you if mapbox-java can handle it. @danpaz 5.4.0 fails because it is missing libraries #1191 Also, can see that the tool is working because mapbox-java cannot interpret geometry as a LineString, it must be a Polyline String
|
validator/README.md
Outdated
@@ -0,0 +1,3 @@ | |||
|
|||
npm link |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe don't do this. i think this messed up my mbxcli and i had to relink it
8c249ba
to
a737d96
Compare
Considering that I'm new to NodeJs development and that is what is wiring these integration tests together. I'm also looking for a nice way to add unit tests to this command line interface. This post looks well received https://medium.com/@me_37286/yoni-goldberg-javascript-nodejs-testing-best-practices-2b98924c9347 |
a737d96
to
2c2b386
Compare
2c2b386
to
9429821
Compare
Closing in favor of a different approach https://github.com/mapbox/navigation-sdks/issues/542#issuecomment-700028367 |
Addressing https://github.com/mapbox/navigation-sdks/issues/542
This project can be pretty big, and I have been mostly hacking to just get it to work. But this is what it does. You can download any version of the directions api from mapbox-java, and then validate json is parsed with the release.
Moved some of the completed issues into comments.
cc: @LukasPaczos @Guardiola31337 @1ec5