Azure / autorest.go

Extension for AutoRest (https://github.com/Azure/autorest) that generates Go code
MIT License
65 stars 42 forks source link

Omit base model types by default #1337

Closed jhendrixMSFT closed 2 weeks ago

jhendrixMSFT commented 3 weeks ago

The properties of a model's base types are folded into the super type. If the base types aren't referenced, omit them.

Fixes https://github.com/Azure/autorest.go/issues/1333

jhendrixMSFT commented 3 weeks ago

Correct, we're omitting these types because they are base types that aren't directly referenced.

The comment is very focused on languages that use OO inheritance to describe these relationships.