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

More examples #519

Open
opcodewriter opened this issue Oct 9, 2023 · 1 comment
Open

More examples #519

opcodewriter opened this issue Oct 9, 2023 · 1 comment

Comments

@opcodewriter
Copy link

opcodewriter commented Oct 9, 2023

Vlad, thanks for your great library!

Maybe it's just me but I'm having a hard time understanding how to use the library in the correct way, otherwise chance is, I will write code which has potential bugs.

Beside the README, the only resource I could find is your post "Functional C#: Handling failures, input errors" but it looks outdated, there's no "OnSuccess" method anymore.

Is there any other resource I'm not aware of? I googled for "CSharpFunctionalExtensions" and I didin't get anything else.

@vkhorikov
Copy link
Owner

Yeah, docs are lacking. One way is to use the OnSuccess from the course and then follow the deprecation warnings, they say which method you need to use instead.

But I personally don't use use extension methods much (aside from the very basic Map and Bind) and still get a lot of value from the lib on my projects -- from the Result, Maybe, and ValueObject vanilla classes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants