You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 16, 2023. It is now read-only.
I was wondering if there's any difference between:
running code, calling save inside an if-clause and running more code after
running save with before and afterSave closures as arguments
The number 2 looks more like a non-standard way to add hooks that are hardly (IMHO) different between situations where save() would be called. Thus, we could drop those arguments in favor of a cleaner codebase and less confusion (since now with actual, instance before/afterSave methods, both signatures are different and one does not override the other anymore).