You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JoshLove-msft
changed the title
Should not generate property if it is contained on a custom model base type
OpenAI - Should not generate property if it is contained on a custom model base type
Oct 8, 2024
This PR address the following bugs:
- If a model contains a spec property that was also added as a custom
model in it's base model, the derived model will not generate the
property.
- if a custom property is added to a base model and it includes the
`CodeGenSerialization` attribute, that property is included in
serialization ctor for the derived model.
fixes: #4629
When determining if we should generate a property or not, we need to consider the base models in addition to the current model.
The text was updated successfully, but these errors were encountered: