meteor-vue / vue-meteor-tracker

Use Meteor Tracker reactivity inside Vue components
90 stars 20 forks source link

How do I reference subscriptions whose names contain periods? #70

Open violetlight opened 3 years ago

violetlight commented 3 years ago

I want to use $subReady on a subscription that has a period in the name. For example:

Meteor.publish('something.all', ...);

// Assume the following linens are in the appropriate place and this.$subReady is a valid reference
console.log(this.$subReady['something.all']); // Doesn't seem to work
console.log(this.$subReady.something.all); // Doesn't work, but I expected it not to

Is it currently possible to do this?