These are chat archives for Automattic/mongoose

Jun 2015
Alejandro Duarte Sánchez
Jun 03 2015 16:58
anyone know why in mongoose subdocuments don't return some properties
this is mongoose :
in mongo into affirmations has two properties, _id and id_affirmation but in mongoose hasn't
and I took a look in other computer and works fine
Valeri Karpov
Jun 03 2015 21:57
@aredo that's just a warning. Try an rm -rf node_modules && npm cache clear && npm install - that's usually because you switched versions of node / io without re-installing mongoose
@lexds1591 does your schema include a ref? This may be an issue re: #3020