So, I really like your idea of having these common schemas, but given how they're built, how would I go about customizing them?
The newest version (3.5) of mongoose doesn't let you call mongoose.model more than once for a given schema, and since you call it in store.js my original plan for changing them (pull your schema in via store, make my changes, and re-model it) is broken.
So, I really like your idea of having these common schemas, but given how they're built, how would I go about customizing them?
The newest version (3.5) of mongoose doesn't let you call mongoose.model more than once for a given schema, and since you call it in store.js my original plan for changing them (pull your schema in via store, make my changes, and re-model it) is broken.