These are chat archives for Automattic/mongoose

Apr 2015
Liam Mitchell
Apr 02 2015 02:15

Stumbled upon Object.observe today, could this be used in place of markModified when supported?
It could be an option on construction of the schema or model to observe.


var obj = { foo: 0, bar: 1 };
Object.observe( obj, function(changes) {
} )

setInterval(function(){ = Math.floor(Math.random()*10) },1000);
Liam Mitchell
Apr 02 2015 11:23
Made a way to do RPC with mongoose for some projects I am working on.
Basic RPC with mongoose