Mongodb – Missing 'street' and 'city' fields in Mongoose user document's 'address' sub-document
Why are the street and city fields not present in the address sub-document of a new user document created using Mongoose, despite being included in the addressSchema and provided when creating the document? Here is my addressSchema: const addressSchema =…