Publication collections overlap
Diwei-Chen opened this issue · comments
Hi there,
When subscribing to multiple publications that return with same collections but different projections, the final collection doesn't seem like a super set of them, instead it is a subset.
Any ideas, please?
Hi to give this some more context, here are some example publications
Publication 1
return SomeCollection.find({},{fields:{field1:1}}
Publication 2
return SomeCollection.find({_id:"x"},{fields:{field1:1, field2:1}}
initially the app seems to support returning field1
& field2
then after an app refresh (Cmd #r or going offline/online) collection SomeCollection
only has field1
(without field2
)
This does not happen in the Meteor app via a browser.
I think Meteor usually "over publishes" on this type of stuff... seems like it's "under publishing" here.
Any ideas, please?