Skip to content
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

Add implicit conversion from Result<T> to value #46

Closed
MrDave1999 opened this issue Dec 9, 2023 · 0 comments · Fixed by #48
Closed

Add implicit conversion from Result<T> to value #46

MrDave1999 opened this issue Dec 9, 2023 · 0 comments · Fixed by #48
Labels
feature New feature or request

Comments

@MrDave1999
Copy link
Owner

Example

var data = new List<string>();
Result<List<string>> result = Result.Success(data);
// Implicit conversion.
List<string> value = result;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant