Skip to content
Discussion options

You must be logged in to vote

Not public currently. Document array schematypes have casterConstructor.discriminators, and single nested subdocument schematypes have caster.discriminators, that would be how to get the current discriminators defined on a document array or subdocument.

What are you trying to build?

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@hasezoey
Comment options

hasezoey Jul 28, 2022
Collaborator Author

@vkarpov15
Comment options

@hasezoey
Comment options

hasezoey Aug 3, 2022
Collaborator Author

Answer selected by hasezoey
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants