Skip to content

Conversation

@irvinesunday
Copy link
Contributor

Fixes #233

This PR:

  • Fixes the function that fetches the derived types of structured types and adds them to the discriminator object. The fix includes retrieving the derived types of complex properties and removing the condition that checks for base types before adding the discriminator object. Discriminator objects are not only required to be added to structured types which have base types.
  • Adds test to validate the above fix.
  • Adds release note info.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Discriminator information for parent types used in properties

3 participants