-
Notifications
You must be signed in to change notification settings - Fork 2k
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
implement expressive toString methods for model objects #609
Comments
Hi @herrwieger Thanks for your advice. I will park this until the iteration slows down and I get some time to get back to this. After the same time, if you'd like to contribute or have an urgent need, please feel free to make your changes in our template for all models: https://github.com/Azure/autorest/blob/master/AutoRest/Generators/Java/Java/Templates/ModelTemplate.cshtml. Changes in that template will be propagated to all models in the SDK. |
perhaps this will be part of our JSON serialization work, so on the To Do list for now. |
@anuchandy just some food for thought perhaps related to the JSon serialization investigation |
@anuchandy Any updates on this issue? |
Potential autorest v3 item. |
Due to the extensive amount of custom serialization we do in the pipeline, there's no simple |
Currently most of the classes in the models packages have no toString method. For logging its essential to get meaningful output from model objects via toString. Although its boring work, adding toString methods would make debugging way more fun and increase the usefulness of the sdk.
The text was updated successfully, but these errors were encountered: