These are chat archives for Automattic/mongoose

22nd
Aug 2016
LeonineKing1199
@LeonineKing1199
Aug 22 2016 15:09
Does anyone know how to Mongoose model constructors work?
Right now, we're using some code that'll generate a constructible (with similar syntax to defining Mongoose schemas) and for some reason, instantiating these constructibles and trying to pass them as POJOs to a Mongoose model constructor is just disastrous.