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

Optionally inherit wheelchair boarding from parent station #17

Merged
merged 1 commit into from
Sep 18, 2024

Conversation

cedarbaum
Copy link
Collaborator

Add option to inheriting wheelchair_boarding from parent station when not specified for a child stop/platform/entrance/exit.

@jamespfennell
Copy link
Owner

Sorry for the late response, I was away traveling for a few weeks! PR looks good with one small comment.

static.go Outdated
@@ -149,7 +149,15 @@ type Frequency struct {
ExactTimes ExactTimes
}

type ParseStaticOptions struct{}
type StopOptions struct {
Copy link
Owner

Choose a reason for hiding this comment

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

should we just put the InheritWheelchair boarding field directly on the ParseStaticOptions struct, and remove the StopOptions struct? I feel it's unambiguous there, I may be wrong though

Copy link
Collaborator Author

@cedarbaum cedarbaum Sep 18, 2024

Choose a reason for hiding this comment

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

I think that makes sense - I've removed the StopOptions struct.

@cedarbaum cedarbaum merged commit 65dace7 into main Sep 18, 2024
2 checks passed
@cedarbaum cedarbaum deleted the inherit_wheelchair_boarding branch September 18, 2024 16:14
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