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

Tasks #323

Merged
merged 1 commit into from
Oct 23, 2022
Merged

Tasks #323

merged 1 commit into from
Oct 23, 2022

Conversation

kerams
Copy link
Collaborator

@kerams kerams commented Oct 1, 2022

Implements #134. Supersedes #293.

Bumped required FSharp.Core for the server bits to 6.0, so that the internals can be Task-based for extra performance. Just like in #293, Task endpoints are supported, but still cannot be consumed in Fable without the type spoof hack.

DotnetClient has been updated and supports Task endpoints. There are also additional methods on the Proxy type that return Task instead of Async: let! result = proxy.callTask (fun server -> server.pureAsync).

The test failure comes down to the fact that 3 UI test projects reference FSharp.Core via the Main and Client dependency groups, and because of the lowest_matching constraint both version are different. Not sure how to solve this.

@Zaid-Ajaj
Copy link
Owner

Hi @kerams sorry for taking this long to look into this PR, it looks great! I will merge and try to deal with the failing tests but all in all, we should get this out there 😄

@Zaid-Ajaj Zaid-Ajaj merged commit cbd9244 into master Oct 23, 2022
@kerams kerams deleted the tt branch October 23, 2022 10:41
@kerams kerams mentioned this pull request Oct 23, 2022
@Zaid-Ajaj
Copy link
Owner

Fixed the tests and published a batch of packages 🚀 should be up as soon as nuget finishes indexing

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