Add support for discriminator and type downcast during deserialization #648
Closed
4 tasks
Labels
Milestone
OpenAPI has a way to describe which property can be used as a discriminator on an object type to determine the true type of an object.
This is especially useful when receiving an mixed collection. In OData terms and taking a Microsoft Graph example we can thing of collections of directoryObjects where the values inside the result collection can be users, groups, applications and more.
The current SDKs know how to downcast the results thanks to the OData type property on each entry.
When the conversion library supports that information Kiota deserialization needs to:
AB#11197
The text was updated successfully, but these errors were encountered: