Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(schema): support setting discriminator options in Schema.prototype.discriminator() #14493

Merged
merged 1 commit into from Apr 4, 2024

Conversation

vkarpov15
Copy link
Collaborator

Fix #14448

Summary

Quick fix to allow calling Schema.prototype.discriminator() with discriminator options, right now no way to set a custom discriminator value with Schema.prototype.discriminator().

Examples

@vkarpov15 vkarpov15 added this to the 7.6.11 milestone Apr 4, 2024
@vkarpov15 vkarpov15 merged commit 8a8bea5 into 7.x Apr 4, 2024
41 of 42 checks passed
@vkarpov15 vkarpov15 deleted the vkarpov15/gh-14448 branch April 4, 2024 16:30
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.

None yet

2 participants