Skip to content

Conversation

@RingerJK
Copy link
Contributor

@RingerJK RingerJK commented Oct 27, 2022

Description

blocked by #6005

Squashed commits:
[f265764b67] Revert "- Added Waypoints to NavigationRoute; - RouteOptionsUpdater refactored."

This reverts commit b111ebe6f3b3396fa14212e88f2316ccc76f3cac.
[250633f2c7] NavigationRoute: create from DirectionsRoute(s)
[b111ebe6f3] - Added Waypoints to NavigationRoute; - RouteOptionsUpdater refactored.
@RingerJK RingerJK self-assigned this Oct 27, 2022
@RingerJK RingerJK added the skip changelog Should not be added into version changelog. label Oct 27, 2022
@dzinad
Copy link
Contributor

dzinad commented Jan 6, 2023

I think it's unblocked now.

}
}

internal fun create(
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this used only for tests? Now it looks like it. Why can't you do all these json manipulations directly in the test-only method? For example, in NavigationRouteEx.
I don't like adding this method to production code because it duplicates directions response structure. And now the knowledge of this structure only lives in mapbox-java, which I think is good and it should stay this way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip changelog Should not be added into version changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants