Skip to content

Conversation

@vkarpov15
Copy link
Collaborator

Fix #14245

Summary

#14245 points out that we don't correctly call applyEmbeddedDiscriminators() on the discriminator schema, which leads to missing discriminators on self-referential discriminator schemas. This PR fixes that.

Examples

…h defined using Schema.prototype.discriminator Fix #14245
@vkarpov15 vkarpov15 added this to the 7.6.9 milestone Jan 12, 2024
@vkarpov15 vkarpov15 merged commit 0faafcf into 7.x Jan 13, 2024
@hasezoey hasezoey deleted the vkarpov15/gh-14245 branch January 14, 2024 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants