These are chat archives for Automattic/mongoose
init middleware checks for certain fields and does things if they are empty.
But unfortunately if I have used
.select(‘foo’) then of course most of the fields are empty!
How can I detect if I have a full document or a document that came from a