These are chat archives for Automattic/mongoose

14th
May 2019
Galdan Moulinneuf
@GaldanM
May 14 09:18
Hello there, I'm having a problem when requiring schemas in my app. First of all, my schema is defined in a js file and is exporting mongoose.model('Schema', SchemaDefinedPreviously) is it ok to do so ?