In M220JS, test/lessons/basic-updates.spec.js, after line 80, if we do a console.log() of newTheaterAddress
we get the whole object despite the fact {"location.address.street1": 1 }
was passed as the projection in the theaters.findOne()
call.
Did passing {"location.address.street1": 1 }
as projection failed to do so?
If we pass the proper { projection: { "location.address.street1": 1 } }
instead we do get what is expected though.
Would someone please shed some light here.
Thanks