348164 (1) [Avatar] Offline
#1
Can you please cover Meteor MongoDB objectID, which is a string, vs MongoDB objectID, which is an object? When I seed data through meteor (e.g. via fixture.js), parent-child relationships work. However, when I seed the data directly in MongoDB (meteor mongo), parent-child relationships do not work in meteor even though it works in MongoDB. It looks like meteor is expecting the objectID to be a string. If it's not a string, it will not be able to use the objectID of the parent collection to find the child records. I could not find any info on this on the Web. It would be great if the book covers this topic.
stephan.hochhaus (92) [Avatar] Offline
#2
Good point. I'll see if we can still get it into chapter 4 or if we get it into 10 somehow. But I agree, this is a topic worth mentioning.