You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many thanks for the effort have been done in here, I would like to ask does mongoose-typescript supports inheritance ? discriminators as it is in mongoose doc link https://mongoosejs.com/docs/discriminators.html
Best Regards,,,
The text was updated successfully, but these errors were encountered:
Well, that has not been supported yet. But you can use getModel() and getSchema() manually use the The model.discriminator() function after defining the schema class.
Hi there,
Many thanks for the effort have been done in here, I would like to ask does mongoose-typescript supports inheritance ? discriminators as it is in mongoose doc link
https://mongoosejs.com/docs/discriminators.html
Best Regards,,,
The text was updated successfully, but these errors were encountered: