-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
CSharp client generator - Implementing Async Pattern on PrepareRequest and ProcessResponse #3248
Conversation
…s as awaitable. Issue #3247
We would also need to expose the new config wia CLI command and in the UI (XAML).. can do that tomorrow or you update the PR for that as well. But looks good to me. Thanks. |
I just added GeneratePrepareRequestAndProcessResponseAsAsyncMethods to CLI and UI. Please let me know if you want me to rephrase the option description/label. Thanks. |
Lgtm, thank you very much. |
There seems to be an error in this PR. |
Hi @jclijmans! That is because partial methods cannot be marked as async. So what you should do is to create a partial definition of your client class and then implement those methods in that particular. You can take a look to #3247 where I tried to explain this properly. Thanks! |
Issue #3247