Amichai Mantinband
Amichai Mantinband
Hi @OleRoss, thanks for taking the time and looking into the library! I like some of your ideas. I'm super busy ATM but hopefully I'll have time in a week...
Hey @OleRoss, I liked some of your suggestions. I've added an `ErrorOr.From` method (a rename of your `ErrorOr.Ok`). I've also updated the implementation of retrieving the errors so that it...
Hi @krassdanke, awesome question. Sorry for the late response, I've been super busy lately. I hope to have time in a week or two to take a deeper look 😊
Thanks @edercarloscosta for taking the time to create this PR. Ideally, this would be an `IReadOnlyList`, but implicit converts can't be used on interfaces. This means that you could no...
@wesley-sd thanks for the comment. That's a great idea and an easy fix. I'll move the `IsError` property to the interface 👍Regarding the `Value`, this is not as straightforward, as...
@kikutano I see what you mean. What do you think about a method similar to `ErrorsOrEmptyList()`? Then, your code can look something like: ```csharp var errors = new List(); errors.AddRange(...
@zaktecs, global error handling (exception handler middleware, for example, as @kgnet88 suggested) should probably be implemented regardless of using `ErrorOr` or exceptions. Regarding your question, if it's your code, you...
Hmm, this is an interesting idea. What kind of metadata are we talking about? Is this a specific recurring object you want to attach to all errors? a string? Can...
@truegoodwill that's probably the best solution here