Getting defaults for optional values
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 30/100
Research direction
Start by inspecting the ScheduledStopPoint JAXB model and the NeTEx schema definitions for ForBoarding and ForAlighting. Clarify how defaults should be represented for absent optional values, then verify that requesting them returns the agreed sane boolean value instead of null.
Written by the indexing model from the issue text.
Description
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?
- Dominant language
- Java
- Stars
- 21
- Forks
- 15
- Avg merge
- 34m
- Merged PRs (30d)
- 2
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from entur/netex-java-model
-
Difficulty 1/5 Under an hour Newbie friendliness 15/100
entur/netex-java-model#287 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
entur/netex-java-model#284 · 4 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 20/100
entur/netex-java-model#43 · 2 comments ·
-
Dependency Dashboard Open
Difficulty 4/5 3-5 days Newbie friendliness 15/100
entur/netex-java-model#25 ·
-
LocalDateTime Open
Difficulty 5/5 Over a week Newbie friendliness 25/100
entur/netex-java-model#4 · 12 comments ·
All issues in entur/netex-java-model
Similar issues
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
inu-appcenter/memorIN-backend#288 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
frontend maui-pilot pilot-ask question
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
area/plugin
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
kestra-io/plugin-kestra#190 ·