Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publication collections overlap #327

Open
Diwei-Chen opened this issue Oct 31, 2018 · 1 comment
Open

Publication collections overlap #327

Diwei-Chen opened this issue Oct 31, 2018 · 1 comment

Comments

@Diwei-Chen
Copy link

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?

@adamgins
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants