Skip to content
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

Closed
heshamMassoud opened this issue Dec 18, 2018 · 1 comment
Closed
Assignees
Milestone

Comments

@heshamMassoud
Copy link
Contributor

Description

beforeUpdateCallback is called even on empty list of update actions

Current Behaviour

beforeUpdateCallback is called even on empty list of update actions

Expected 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.

@heshamMassoud heshamMassoud added this to the 1.1.0 milestone Dec 18, 2018
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
ahmetoz added a commit that referenced this issue Dec 19, 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
@heshamMassoud
Copy link
Contributor Author

Released in 1.1.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants