Issue with Mongoose "Discriminators"
There is type-issue with Mongoose "Discriminators", doc here.
Setup
Clone this repository. Then run
npm i
to install all dependencies. Then run
npm start
to start the server. It will be listening on port 3003
.