Skip to content

ruby support for discriminator downcast during deserialization #1652

Closed

Description

details located in #648 and associated PR.

To deserialize to the right type we need to:

  • implement generating the discriminator static method for models (reads a property in the payload and instantiates the right type)
  • pass a reference to that method to the request adapter in the request executor method.
  • forward the reference to that method to the parse node in the request adapter
  • update the corresponding parse node, request adapter interfaces

Note: this is also impacted by ongoing work in #1411

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions