-
Notifications
You must be signed in to change notification settings - Fork 73
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
Inject model into schema for post hook #159
Comments
I will take a look at this in a week, I am quite busy with finals at the moment! |
Ok thanks! |
any update on this? this would be a great feature for triggering changelog creation in hooks instead of having to write a service wrapper and enforce its usage... |
+1 |
still nothing ? |
I know that the code of the decorators could be improved, but this solution could be the start to have decorators prepared for Mongoose hooks: |
Take a look at nestjs/mongoose#7 (comment) - This is how I solved the issue. |
There is a way to do this?
nestjs/mongoose#7 (comment)
The text was updated successfully, but these errors were encountered: