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

Fixed bad overload. Bind should not take in a Func<Result> #220

Merged
merged 1 commit into from
Nov 12, 2024

Conversation

christophercalm
Copy link
Contributor

I erroneously added an overload to the bind method that takes in a Func. This confuses the compiler when trying to bind methods in a point free way. This is the only bind that needed to be fixed.

Copy link

Code Coverage

Package Line Rate Branch Rate Complexity Health
Ardalis.Result.Sample.Core 36% 39% 66
Ardalis.Result.SampleWeb 67% 50% 44
Ardalis.Result.AspNetCore 49% 52% 168
Ardalis.Result 8% 0% 265
Ardalis.Result.FluentValidation 0% 0% 6
Summary 35% (413 / 1190) 25% (91 / 362) 549

@ardalis ardalis merged commit e29689c into ardalis:main Nov 12, 2024
1 check passed
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

Successfully merging this pull request may close these issues.

2 participants