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

SelectMany does not take in consideration actions that returns Task #145

Closed
Galad opened this issue May 31, 2019 · 0 comments
Closed

SelectMany does not take in consideration actions that returns Task #145

Galad opened this issue May 31, 2019 · 0 comments
Labels
Milestone

Comments

@Galad
Copy link
Owner

Galad commented May 31, 2019

A test fails because of that:
https://ci.appveyor.com/project/Galad/tranquire/builds/24936046

Get.TheToDoItem("item").SelectMany(item => Remove.TheToDoItem(item.Id));

The method returns Task<Task> which when awaited, returns another Task.
It should return Task.

@Galad Galad closed this as completed in 8c629dd May 31, 2019
@Galad Galad added this to the v2 milestone May 31, 2019
@Galad Galad added the bug label May 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant