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

Updated DirectionsWaypoint object #1360

Merged
merged 2 commits into from
Feb 7, 2022
Merged

Updated DirectionsWaypoint object #1360

merged 2 commits into from
Feb 7, 2022

Conversation

LukasPaczos
Copy link
Member

Updated nullability annotations and exposed optional distance property. Refs https://docs.mapbox.com/api/navigation/directions/#waypoint-object.

@@ -33,31 +34,32 @@ public static Builder builder() {
* @return string with the name of the way the coordinate snapped to
* @since 1.0.0
*/
@Nullable
@NonNull
Copy link
Contributor

Choose a reason for hiding this comment

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

This is technically SemVer although we could treat it as a bug.

Copy link
Member Author

Choose a reason for hiding this comment

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

That's my thinking, not a semver for the getter only for the setter, but more of a bug nonetheless.

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