-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Parsing nullable num
values
#141
Labels
bug
Something isn't working
Comments
I did a temporary work around but had to make them all optional.
|
To follow up on this, it is not a bug in the dart code generator. The server code just needs to add the nullable option and not just the not required option. The code generator then does this:
This particular server side is using the Java annotations:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description of the bug
Nullable
num
fields can't be parsed usingparse
constructor. It should usetryParse
.Steps to reproduce
Expected behavior
num?
values should be parsed usingtryParse
Logs
No response
Screenshots
No response
Platform
macOS
Library version
^5.0.2
Flutter version
3.19.2
Flutter channel
stable
Additional context
No response
The text was updated successfully, but these errors were encountered: