Meteor-Community-Packages / meteor-autocomplete

Client/server autocompletion designed for Meteor's collections and reactivity.
https://atmospherejs.com/mizzao/autocomplete
MIT License
350 stars 109 forks source link

Extended the server rules to use 'subscriptionParams' object. This ob… #113

Open TamarAmit opened 8 years ago

TamarAmit commented 8 years ago

Extended the server rules to use 'subscriptionParams' object. This object may be provided in the settings->rule schema and enable sending the server subscription additional args within this object. In case a collection name is sent it will still send it (for backward compatability). However, in most of the production apps, a server subscription will be used, and it will enable sending additional args to the server (like token, etc) without breaking the API

mizzao commented 8 years ago

Hey @TamarAmit, I apologize for the delay in responding.

I don't have time to maintain this project anymore, so I gave you commit access to make any changes you'd like. It would be nice to follow the style used by the rest of the code and add some tests to this patch.

If you'd like permission to publish the package to Meteor as well, please send me your Meteor username.