The ref to the Event document in the Reservation model does not actually store all the details of the Event in the Reservation document. It only stores the ObjectID. I looked at using populate() to get the Event data into the Reservation document when it is created but that did not appear to do anything. So we'll need to revisit this in order to make sure the Reservation documents are accurate.
Note: The event and reservation both have to be saved before .populate() will work.
The ref to the Event document in the Reservation model does not actually store all the details of the Event in the Reservation document. It only stores the ObjectID. I looked at using populate() to get the Event data into the Reservation document when it is created but that did not appear to do anything. So we'll need to revisit this in order to make sure the Reservation documents are accurate.
Note: The event and reservation both have to be saved before .populate() will work.