-
Notifications
You must be signed in to change notification settings - Fork 16
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
Issue with using observeChanges in autorun function #50
Comments
I think something else is happening. See this test which seems to work. |
Thanks for your feedback!
And I get the same problem - first |
If you can provide a small working reproduction (with the least number of packages, just those really required for reproduction), then there is a chance to help here. Otherwise not really. |
I created test project: https://github.com/kerf007/meteor-publish-test |
Hello, Before using meteor-reactive-publish, my publish function code looked like:
So some transformation function was used.
Then I added meteor-reactive-publish and wrapped this code in this.autorun. And now when I get DDP messages - first I get
added
message with some extra field from transform function, but then I getchanged
message that hascleared
field with my extra field names and this fields are removing.I can't understand why this happens and how to transform data before publish to client?
Help please :)
The text was updated successfully, but these errors were encountered: