Improve Meteor.user() and .userId() #7002
Labels
confirmed
We want to fix or implement it
Impact:most
Project:Accounts (in user apps)
Severity:has-workaround
Type:Feature
I like
Meteor.user(userId, fields)
andMeteor.userId() work also inside the publish endpoint functions
from https://github.com/peerlibrary/meteor-user-extraMeteor.user()
might be the largest culprit for reactivity bugs, and having userId work in pubs would simplify the api – I imagine that error you get when you tryMeteor.userId()
currently in publishers is pretty common.Profile writability would be breaking: #3618 (comment)
Obviously it doesn't pass this test:
But I think there should be some exceptions to that rule☺️
The text was updated successfully, but these errors were encountered: