vue-meteor-tracker icon indicating copy to clipboard operation
vue-meteor-tracker copied to clipboard

How do I reference subscriptions whose names contain periods?

Open violetlight opened this issue 4 years ago • 0 comments
trafficstars

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?

violetlight avatar Jan 15 '21 14:01 violetlight