These are chat archives for Automattic/mongoose

Nov 2016
Kameron Robinson
Nov 16 2016 01:34
Hey Everyone, quick Q. Inside of a Schema is it bad practice to use the schema.pre('save', ()=>{}) to make an api call to a service to attempt and add data for use at a later time?
Or should I handle that somewhere else?
Nov 16 2016 12:39
Hey how can i track an event in angular2 ? i use this ng2 package : on their doc they said "onOpen: EventEmitter Emits when is called." so i would like to change content of my modal before event happend ?
oups wrong place