Closed akanix42 closed 6 years ago
You can already override the subscribe function with Vue.config.meteor.subscribe
. Maybe I misunderstood your question?
No, you didn't misunderstand - I somehow missed that this is already documented in the README as the way to override the subscribe function. My apologies!
Could you add an official way to override the
subscribe
function? I'm currently using v1.2.3, and I implement my own override like so:The reason for this is that I use my
meteor-publication
package, which lets me avoid using magic strings for the publications (I use it in conjunction with TypeScript to enforce the parameter types passed to the publications):If possible, I would like an official way to override the subscribe function so I don't have to worry about it not being possible at all in future versions.