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

Simplify handling of subject's age #643

Merged
merged 4 commits into from
Dec 28, 2023
Merged

Simplify handling of subject's age #643

merged 4 commits into from
Dec 28, 2023

Conversation

ielis
Copy link
Contributor

@ielis ielis commented Dec 28, 2023

Previously we could have Age that was unknown. However, this is better modeled by making the Age optional and using null to represent its absence, since null conveys the same meaning.

The PR simplifies the code that uses Age and adds bounds checks on values to prevent using negative years, months, ... .

@ielis ielis merged commit 30752c4 into develop Dec 28, 2023
3 checks passed
@ielis ielis deleted the streamline-age branch December 28, 2023 16:40
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.

1 participant