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

Change "type" to "mode" and add "type" as route type to Route for GraphQL #2283

Conversation

johannilsson
Copy link
Contributor

Route.type did not represent the route type instead it held the traverse mode.

This change renames Route.type into Route.mode and adds Route.type to map to the route type.

This also makes it a bit more compatible with the other APIs that expose mode through RouteShort.

@abyrd
Copy link
Member

abyrd commented Jul 14, 2016

Makes sense to me. Thanks @johannilsson

@abyrd abyrd merged commit 87abc70 into opentripplanner:master Jul 14, 2016
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