Skip to content

Fixing tryParseFunctions to avoid null values when the conversion fails#77

Merged
rgudwin merged 2 commits intomasterfrom
troca
Dec 5, 2025
Merged

Fixing tryParseFunctions to avoid null values when the conversion fails#77
rgudwin merged 2 commits intomasterfrom
troca

Conversation

@rgudwin
Copy link
Member

@rgudwin rgudwin commented Dec 5, 2025

Why was it necessary?

The tryParse functions were returning null when the conversion was not possible. This pull request solves that.

How was it done?

Instead of returning null, it nows return a variable for the desired type.

Implementation details

no further comments

How to test?

There are already tests for that

Future works

no further comments

@rgudwin rgudwin merged commit 7086d5b into master Dec 5, 2025
5 checks passed
@rgudwin rgudwin deleted the troca branch December 5, 2025 23:21
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