Skip to content

Supports custom automobile profiles in RouteOptions#833

Merged
kried merged 3 commits intomainfrom
NAVIOS-2276
Jul 7, 2025
Merged

Supports custom automobile profiles in RouteOptions#833
kried merged 3 commits intomainfrom
NAVIOS-2276

Conversation

@kried
Copy link
Copy Markdown
Contributor

@kried kried commented Jul 4, 2025

Fixes NAVIOS-2273

@kried kried requested a review from a team July 4, 2025 14:58
@kried kried self-assigned this Jul 4, 2025
@kried kried marked this pull request as ready for review July 7, 2025 11:21

extension ProfileIdentifier {
public var isAutomobileAvoidingTraffic: Bool {
rawValue.hasSuffix("driving-traffic")
Copy link
Copy Markdown
Contributor

@ArtemStepuk ArtemStepuk Jul 7, 2025

Choose a reason for hiding this comment

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

nit: just to keep constants in the single place possibly we can do smghing like:
self == .automobileAvoidingTraffic

@kried kried merged commit 1f3ff5f into main Jul 7, 2025
10 checks passed
@kried kried deleted the NAVIOS-2276 branch July 7, 2025 13:58
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.

3 participants