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

Getting defaults for optional values #5

Open
skinkie opened this issue Oct 10, 2018 · 0 comments
Open

Getting defaults for optional values #5

skinkie opened this issue Oct 10, 2018 · 0 comments

Comments

@skinkie
Copy link
Contributor

skinkie commented Oct 10, 2018

Consider a ScheduledStopPoint that doesn't have ForBoarding or ForAlighting. Hence requesting this would return 'null'. I wonder iff defaults are specified we could get this behavior to a boolean that always returns a sane value for optional values. Any thoughts?

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

No branches or pull requests

1 participant