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

RouteLeg.closures integration #755

Merged
merged 3 commits into from
Oct 25, 2022
Merged

RouteLeg.closures integration #755

merged 3 commits into from
Oct 25, 2022

Conversation

Udumft
Copy link
Contributor

@Udumft Udumft commented Oct 21, 2022

This PR adds support for RouteLeg Closures. Added corresponding type, properties in RouteLeg and DirectionsOptions. Also updated refreshing methods for the new updated info. Refreshing also refined a bit by introducing single refresh method with flexible configuration which should cover possible variations and reduce amount of user code for refreshing routes.

…responding parameter to RouteLeg; added new annotation request to DirectionsOptions; Added single refresh method to cover refreshing all types of entities; unit tests updated;
@Udumft Udumft self-assigned this Oct 21, 2022
@@ -1 +1,2 @@

API breakage: enumelement RouteLeg.CodingKeys.closures has been added as a new enum case
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adding new annotation type is impossible without adding new enum element...

@@ -1 +1,2 @@

API breakage: enumelement RouteLeg.CodingKeys.closures has been added as a new enum case
API breakage: var RouteLegRefreshSource.refreshedClosures has been added as a protocol requirement
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Mitigated by default extension implementation.

@Udumft Udumft requested a review from a team October 21, 2022 10:54
@Udumft Udumft marked this pull request as ready for review October 21, 2022 10:54
@Udumft Udumft merged commit 76c46e9 into main Oct 25, 2022
@Udumft Udumft deleted the vk/NAVIOS-367-leg-closures branch October 25, 2022 12:51
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.

None yet

2 participants