We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Options :pre_hooks_strategy and :post_hooks_strategy were removed, now the strategy is passed along with the list of hooks, like so:
:pre_hooks_strategy
:post_hooks_strategy
def pre_hooks do pre_hook = fn (result, {_, :get, _} = call) -> # do your stuff ... (result, _) -> result end {:async, [pre_hook]} end
Fix the documentation in Nebulex.Hook module and also in the hooks.md guide – perhaps, check out other possible places.
Nebulex.Hook
The text was updated successfully, but these errors were encountered:
[#30] Fix hooks documentation
b84b528
No branches or pull requests
Options
:pre_hooks_strategy
and:post_hooks_strategy
were removed, now the strategy is passed along with the list of hooks, like so:Fix the documentation in
Nebulex.Hook
module and also in the hooks.md guide – perhaps, check out other possible places.The text was updated successfully, but these errors were encountered: