-
Notifications
You must be signed in to change notification settings - Fork 355
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
add query_this_hook to hooks.rs #688
Conversation
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.
LGTM
Thank you for your contribution
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.
Actually if you are interested in learning more Rust, I encourage you to add some tests for that implementation.
I see that we don't have any hooks tests yet (to be done...), but you still could do that as an excercise.
Co-authored-by: Jakub Bogucki <software-solutions@tuta.io>
Co-authored-by: Jakub Bogucki <software-solutions@tuta.io>
Added a function to hooks.rs that enables devs to check if a specific hook exists. Small but hopefully useful :)