-
Notifications
You must be signed in to change notification settings - Fork 197
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
c#: Add cli option to generate Result types #1115
Conversation
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
9e0e77c
to
d77a265
Compare
|
||
/// Generates code for wit Result types instead of exceptions | ||
#[cfg_attr(feature = "clap", arg(long))] | ||
pub with_wit_results: bool, |
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.
open to name suggestions
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; thanks! Just a few whitespace and grammar nits.
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.
Thanks,
Co-authored-by: yowl <scott.waye@hubse.com> Co-authored-by: Joel Dice <joel.dice@fermyon.com>
Signed-off-by: James Sturtevant <jsturtevant@gmail.com>
Adds option to generate Result types instead of handling Results via Exceptions: #1042