-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Option.get analyzer #31
Comments
Hi Chris, Thank you for this suggestion! We like it and would be happy to receive a PR for this 🥳! |
This sample could be of help for you to get started: |
could / should there be something similar for ValueOption ? |
Yeah, seems reasonable. Are you interested in submitting a PR? |
Would probably be nothing more than adding an OR in |
I can have a go later if no one else gets to it first |
I think we should have the |
I think an analyzer for
Option.get
that promotes the graceful handling of theNone
case by using functions likeOption.defaultValue
or pattern matching should be added. I'd like to create a PR for this if you believe this is a useful addition.The text was updated successfully, but these errors were encountered: