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

Observable.flatten bugfix #1330

Merged
merged 1 commit into from
Dec 28, 2015

Conversation

ForNeVeR
Copy link
Contributor

Current implementation of Observable.flatten never calls obs.OnComplete, and that leads to a bug in Paket.VisualStudio (and possibly adds problems for another users of this API).

Instead of writing that method here (it could be difficult for a general case), I've decided to simply use FSharp.Control.Reactive instead.

This PR will close fsprojects/Paket.VisualStudio#60.

Please note that you'll have to include FSharp.Control.Reactive.dll in a future builds of Paket.VisualStudio, and I've found that it's not trivial to achieve (because Paket.VisualStudio have no direct dependency on this package). In my local environment I got this fixed by adding reference to FSharp.Control.Reactive into a main Paket.VisualStudio assembly, but maybe there is some more conventional way.

…ervable.flatten.

This will fix a bug when observer.OnComplete never gets called in SearchPackagesByName operation.
@forki forki merged commit 4883fbf into fsprojects:master Dec 28, 2015
@forki
Copy link
Member

forki commented Dec 28, 2015

thx for hunting down this bug. But the dependencies is very big, so I tried to fix it directly. Could you please review: afe98e4

thx

@ForNeVeR
Copy link
Contributor Author

@forki I got your point, I'll review (and test) that change tonight. Thanks for the answer.

@ForNeVeR
Copy link
Contributor Author

@forki yup that works very good (I've tried the latest releases Paket.VisualStudio version), and the code looks ok to me. Thank you!

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.

Type ahead does not work properly in Add package window
2 participants