-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/override identify by #15
base: master
Are you sure you want to change the base?
Conversation
@ryanbrunner So it looks like I can now specify a custom identifier on the subscriber / listener side. That's pretty useful, especially since in |
include MultipleMan::Subscriber | ||
subscribe fields: { | ||
id: :id, | ||
name: :remote_name |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this not be remote_name: name? If the incoming is the key and the remapped name is the value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ya your docs suggest the hash format is {:from => :to}
which would yield {remote_name: :name}
Ability to override identify by. This will allow subscribers to specify a different set of fields to subscribe to.