I need to subscribe to a document which is already published and pushed to a client.
The first sub is as follows
this.subscribe('users', {}, { fields: { 'profile.name': 1 }});
The subscription takes query
(the first parameter) and options
(the second parameter).
When a modal (component) gets opened, the component subscribes to a single user like this.
this.subscribe('users', { _id: userId }, { fields: { profile: 1 }});
The problem is that the rest of the profile does not get sent over to the browser, if I request the rest of the user document, it gets sent over the wire. I guess there is no workaround with my current pub/sub model.