You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Code like the following currently requires an explicit call to Async.StartAsTask in order for the asynchronous operation to be awaited by the framework, and for the correct response type metadata to be inferred:
Code like the following currently requires an explicit call to
Async.StartAsTask
in order for the asynchronous operation to be awaited by the framework, and for the correct response type metadata to be inferred:FSharp.AspNetCore.WebAppBuilder/Examples/MinimalWebApp/Program.fs
Lines 58 to 74 in 21d4afa
In contrast, the equivalent code in a controller action method does not require the explicit conversion:
FSharp.AspNetCore.WebAppBuilder/Examples/MinimalWebAppWithControllers/Controllers/ClownsController.fs
Lines 40 to 55 in 21d4afa
dotnet/aspnetcore#46898 will address this, if it is merged.
The text was updated successfully, but these errors were encountered: