-
Notifications
You must be signed in to change notification settings - Fork 43
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
Consider undefined/null for optional rust types (close #278) #280
Conversation
related to #278 |
@DmitryAstafyev can you rebase on #281 is merged? Can we add a new test/example for this case? |
7e83425
to
ea9423c
Compare
done |
@morenol tests are green ) |
Sorry, missed this question. I guess, yes... give me a try |
@morenol test has been added. Test has been passed ) we are green |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nice! LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Good job
Before parsing value from JS and converting it into rust-type, checking for
null
/undefined
and consider it asOption<T>