Azure / autorest.csharp

Extension for AutoRest (https://github.com/Azure/autorest) that generates C# code
MIT License
143 stars 166 forks source link

Handle the responses in examples #5030

Closed ArcturusZhang closed 5 days ago

ArcturusZhang commented 2 months ago

Fixes https://github.com/Azure/autorest.csharp/issues/5015

Description

We write response handling in protocol methods by adding Console.WriteLine for all its properties in the response. This PR changes the implementation of constructing those Console.WriteLine to "write a line if the example value of the response is not null"

Checklist

To ensure a quick review and merge, please ensure:

Ready to Land?

microsoft-github-policy-service[bot] commented 1 week ago

Hi @ArcturusZhang. Thank you for your interest in helping to improve the Azure SDK experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days.

microsoft-github-policy-service[bot] commented 5 days ago

Hi @ArcturusZhang. Thank you for your contribution. Since there hasn't been recent engagement, we're going to close this out. Feel free to respond with a comment containing "/reopen" if you'd like to continue working on these changes. Please be sure to use the command to reopen or remove the "no-recent-activity" label; otherwise, this is likely to be closed again with the next cleanup pass.