I see the changes being made to the answer object when I manually update the Question in the Mongo CLI, but running Document.updateAll(); after doing my insertions in fixtures.js does not seem to construct the couple of references I’d want to have while booting up.
I want to have some fixture data for local development which I’m inserting like so (in server/fixtures.js):
My PeerDB class definition for Answer has the Question field referenced:
I see the changes being made to the answer object when I manually update the Question in the Mongo CLI, but running Document.updateAll(); after doing my insertions in fixtures.js does not seem to construct the couple of references I’d want to have while booting up.