-
Notifications
You must be signed in to change notification settings - Fork 362
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
Embedded relations don't invoke operation hooks #480
Comments
Thank you for reporting the issue. For a better context, can you reproduce the same problem when using the "old" model hooks like "beforeCreate"? |
I changed all data model. I using mysql right now. Sorry :/ |
@bajtos |
There is a partial solution proposed in #516. Could you please try it out and let us know how it works for you? |
@bajtos What should be this solution? |
I can confirm that on my mongodb based setup, 'before save' event is not firing on the embedded model when I call from the API Explorer POST /Model/{id}/embedded unless - I define it as persistent in the embedded model options |
+1 |
@fabien , I'm trying to understand |
My code:
Not show logs in console.
The text was updated successfully, but these errors were encountered: