-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
Refactor $__registerHooksFromSchema #2754
Comments
Also will be related to #2688 |
Will this issue cover support of "thenable" pre-hooks (hooks than returns promise instead of calling I could not find any info about such use of pre-hooks, only some mentions about post hooks. |
Not necessarily. That's a separate feature, although mongoosejs/kareem#3 would help us do that. I haven't had a chance to take a look at grappling-hook yet though. |
Ok, then consider as request please, that it would be cool to tech hooks understand promises instead of callbacks. Should i create a new issue for that? |
Please do :) |
Consider this a follow-on to #4821 |
$__registerHooksFromSchema
is currently a tangled mess to make promises and hooks play nicely together. Would be great if we could move promise support into kareem and solve this is a more elegant way.The text was updated successfully, but these errors were encountered: