When loading pages in my Meteor app, I have an overarching collection. An item (`parent`) is retrieved from this collection by a non-_id property of the object.
I also then, at the same time as loading this item from the collection, need to retrieve a series of items from other collections, searching through these collections for a property equaling the _id of the `parent` object.
Currently I use a series of Deps calls to make a series of different Meteor.subscribe calls, first to get the `parent` item, and then, once that request to the server has been made, to get the child items. This works OK, except that it means that two distinct batches of Meteor.subscribe calls have to be made at different times in the execution of the program.
I would prefer it if the Meteor.publish call on the server could simply publish elements from both collections at the same time, as the _id for the `parent` object will be available on the server.
Making the child objects a property of the parent object is not an option.
Is there a way for Meteor.publish to publish items from/to more than one collection?