demystifyfp / FsToolkit.ErrorHandling

An opinionated F# Library for error handling
https://demystifyfp.gitbook.io/fstoolkit-errorhandling
MIT License
462 stars 59 forks source link

Binding Async<'T option * 'T option> to AsyncValidation is having overload errors #229

Closed 1eyewonder closed 11 months ago

1eyewonder commented 11 months ago

Describe the bug I am having issues with the AsyncValidation builder having source overload issues with some provided types.

Expected behavior I expect the binding to allow me to let! from my provided Async type.

Screenshots image

Desktop (please complete the following information):

Additional context I can take a look at this later. I'll take a look at fixing the source functions and providing some better unit tests around the CE

1eyewonder commented 11 months ago

I realized the version this was happening on a repo which was still on 4.7.0. I have already fixed this in the changes found in #217 (v4.8.0).

I double checked adding a temporary unit test in the master branch to see if I got the same compiler error image