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
Since the kind is an open enum, it is possible that the model's kind property has a name not in the enum value list, which means the discriminator property type should not be the enum type.
The text was updated successfully, but these errors were encountered:
tadelesh
added
the
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
label
Apr 11, 2024
This is how extensible enums works. Any value not in the list can still be supported via a cast. It's unclear why we'd change it at this point, can you clarify?
See example.
The discriminator models will be generated something like:
Since the kind is an open enum, it is possible that the model's kind property has a name not in the enum value list, which means the discriminator property type should not be the enum type.
The text was updated successfully, but these errors were encountered: