-
Notifications
You must be signed in to change notification settings - Fork 37
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
beforeUpdateCallback is called even on empty list of update actions #359
Milestone
Comments
ahmetoz
added a commit
that referenced
this issue
Dec 18, 2018
ahmetoz
added a commit
that referenced
this issue
Dec 18, 2018
ahmetoz
added a commit
that referenced
this issue
Dec 19, 2018
heshamMassoud
added a commit
that referenced
this issue
Dec 19, 2018
heshamMassoud
added a commit
that referenced
this issue
Dec 19, 2018
heshamMassoud
added a commit
that referenced
this issue
Dec 19, 2018
…beforeUpdateCallback #359 add empty check for applyBeforeCallback
Released in 1.1.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
beforeUpdateCallback
is called even on empty list of update actionsCurrent Behaviour
beforeUpdateCallback
is called even on empty list of update actionsExpected Behaviour
beforeUpdateCallback
shouldn't be called on empty list of update actions.Context
It's confusing giving the name is
beforeUpdate
. Meaning it should only be called when there is something (update actions) to update on the product.The text was updated successfully, but these errors were encountered: