I need to be able to leverage the polymorphism features of Mongoose (discriminators) to create schemas that inherit from one another (example: Contract, SalesContract, PurchaseContract)
Enhance the model and api generators to support discriminators. Leverage Swagger's support of OneOf for generation of api and documentation.
There are unfortunately no acceptable alternatives at the moment.
Btw, thank you for this awesome library, it's a true time saver.
Cheers,
Anthony