-
-
Notifications
You must be signed in to change notification settings - Fork 58
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
Is transform working in publishComposite expected behaviour? #183
Comments
Thank you for submitting this issue! We, the Members of Meteor Community Packages take every issue seriously. However, we contribute to these packages mostly in our free time. If you think this issue is trivial to solve, don't hesitate to submit Please also consider sponsoring the maintainers of the package. |
The main question I have is whether this behaviour will be kept or removed in future versions; can I make use of |
Like you said, historically, transforms have not been supported in publication cursors and evidence of that can still be found in old forum threads,. Funnily the docs for 2.16 and 3.x have no mention of it anymore, so perhaps something has changed. If it works in |
Describe the bug
The Meteor docs say that
transform
is not applied to Cursors returned from publications. So, if one wanted to not publish individual elements in an array field, they can't do this:However, this does work:
Expected behavior
I would've expected the
transform
to not work forpublishComposite
too. Is this intended behaviour or an accidental feature?Tested on
v1.8.6
The text was updated successfully, but these errors were encountered: