Skip to content
This repository has been archived by the owner on Apr 20, 2018. It is now read-only.

Refactoring hooks to run before event dispatching #57

Merged
merged 1 commit into from
Mar 6, 2016

Conversation

daffl
Copy link
Member

@daffl daffl commented Mar 2, 2016

This is for feathersjs/feathers#248 and solves it specifically when using hooks by pushing it before all other mixins. This also allowed to refactor hooks processing itself into a smaller and more straightforward module.

@ekryski
Copy link
Member

ekryski commented Mar 6, 2016

👍 works great! The only thing I noticed is that you have to return data from a filter. It's not like hooks where you can just return nothing and they'll still work but that's an issue for socket-commons.

:shipit:

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants