Skip to content

Conversation

@pakrym
Copy link
Contributor

@pakrym pakrym commented Jul 20, 2020

Contributes to #13511

Major features

  1. Collections are now always initialized and collection properties are readonly by default
  2. Internal deserialization ctors are removed for input-only models
  3. Improved nullability support - fewer extra null checks, correct nullable types generated. Might require adding missing annotations to the swagger spec.
  4. Improved header support - descriptions and x-ms-client-name honored.
  5. Single value, modelAsString enums are generated as types, they were string constants before.
  6. Readonly properties are not serialized - affects recordings.

What you might need to do:

  1. If you copied and overrode the serialization code you might want to update it to be in sync with new generator patterns.
  2. Please follow up on updating the centralized swagger file if there were workarounds applied to autorest.md

@pakrym pakrym requested a review from erich-wang July 20, 2020 17:20
@ghost ghost added the Storage Storage Service (Queues, Blobs, Files) label Jul 20, 2020
Copy link
Contributor

@allenjzhang allenjzhang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@pakrym pakrym merged commit f775e1f into Azure:master Aug 13, 2020
@pakrym pakrym deleted the pakrym/update-generator-storage branch August 13, 2020 19:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Storage Storage Service (Queues, Blobs, Files)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants