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
Callbacks for specific notification #7
Comments
Thanks for the suggestion. Sounds good to me. |
Sure thing, do you agree with the suggested API or you have other preferences? Are there any guides/requirements for PRs(e.g formatting)? |
Yep, Since we use I think, the similar approach would work for us (and, btw, this will also add support for
Nothing specific: write new code similarly to the one we already have, follow the code style (it's covered by RuboCop). |
Closed by #8 |
Hi guys,
Thanks for implementing this gem, it's super helpful!
There is one thing, which seems to be really nice to have - an option to specify the name of the notification for a callback. It turned out that quite often, we need to do something only for specific notification. Right now, we have two options:
As you see, both solutions look hacky, it would be nice to have something like:
The text was updated successfully, but these errors were encountered: