RicoSuter / SigSpec

Specification and code generator for SignalR Core.
MIT License
159 stars 37 forks source link

Generated C# hubs do not use the type parameter of InvokeAsync for methods with return type #51

Open TillAlex opened 2 years ago

TillAlex commented 2 years ago

Currently the generated C# hub methods do not use the type template parameters for hub methods with return types. Because of this the return type of InvokeAsync is Task instead of Task while the return type of the generated hub method has the correct return type Task. This leads to compile errors in my case.