We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Remove the hack(s) made for not cloning hooks and overwriting plugins for discriminators
hacks done:
typegoose/src/typegoose.ts
Line 408 in 7e9f03f
typegoose/src/internal/schema.ts
Lines 162 to 171 in 7e9f03f
related mongoose issues:
Model.discriminator
applyPlugins
discriminator
Notes on why this hack might be needed
The text was updated successfully, but these errors were encountered:
will fix with 9.13.0
though there is still a slight workaround needed thanks to Automattic/mongoose#12696
Sorry, something went wrong.
🎉 This issue has been resolved in version 9.13.0-beta.2 🎉
The release is available on:
Your semantic-release bot 📦🚀
8cc7301
🎉 This issue has been resolved in version 9.13.0 🎉
For anyone searching this and wanting the old behavior, see options enableMergePlugins and enableMergeHooks
enableMergePlugins
enableMergeHooks
No branches or pull requests
Remove the hack(s) made for not cloning hooks and overwriting plugins for discriminators
hacks done:
typegoose/src/typegoose.ts
Line 408 in 7e9f03f
typegoose/src/internal/schema.ts
Lines 162 to 171 in 7e9f03f
related mongoose issues:
Model.discriminator
Automattic/mongoose#12472applyPlugins
fordiscriminator
function Automattic/mongoose#12604Notes on why this hack might be needed
The text was updated successfully, but these errors were encountered: