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

[API][CatalogPromotion] Reapplying catalog promotion on variant once its data changes #13128

Merged

Conversation

GSadee
Copy link
Member

@GSadee GSadee commented Sep 21, 2021

Q A
Branch? master
Bug fix? no
New feature? yes
BC breaks? no
Deprecations? no
Related tickets
License MIT

@GSadee GSadee added Feature New feature proposals. API APIs related issues and PRs. labels Sep 21, 2021
@GSadee GSadee requested a review from a team as a code owner September 21, 2021 12:12
/**
* @When I look for a variant with :phrase in descriptor within the :product product
*/
public function iLookForVariantWithDescriptorWithinProduct($phrase, ProductInterface $product): void
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
public function iLookForVariantWithDescriptorWithinProduct($phrase, ProductInterface $product): void
public function iLookForVariantWithDescriptorWithinProduct(string $phrase, ProductInterface $product): void

Also in other methods the type is missing 😢

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've only changed the name of this file without any changes in it and I would like to leave it as it is in this PR 😃

@GSadee GSadee force-pushed the api-reapplying-catalog-promotions-variant branch 2 times, most recently from 23e543c to ee87b26 Compare September 23, 2021 09:10
@GSadee GSadee changed the title [WIP][API][CatalogPromotion] Reapplying catalog promotion on variant once its data changes [API][CatalogPromotion] Reapplying catalog promotion on variant once its data changes Sep 23, 2021
@GSadee GSadee force-pushed the api-reapplying-catalog-promotions-variant branch 2 times, most recently from 5f13790 to b1de75c Compare September 23, 2021 11:19
@GSadee GSadee force-pushed the api-reapplying-catalog-promotions-variant branch from 9473cac to 394cf02 Compare September 24, 2021 05:13
@AdamKasp AdamKasp merged commit 1cb2981 into Sylius:master Sep 27, 2021
@AdamKasp
Copy link
Contributor

Thank you, Grzegorz! 🎉

@GSadee GSadee deleted the api-reapplying-catalog-promotions-variant branch September 27, 2021 06:43
AdamKasp added a commit that referenced this pull request Sep 28, 2021
… variant once its data changes (GSadee)

This PR was merged into the 1.11-dev branch.

Discussion
----------

| Q               | A
| --------------- | -----
| Branch?         | master
| Bug fix?        | no
| New feature?    | yes
| BC breaks?      | no
| Deprecations?   | no
| Related tickets | based on #13128
| License         | MIT

<!--
 - Bug fixes must be submitted against the 1.9 or 1.10 branch (the lowest possible)
 - Features and deprecations must be submitted against the master branch
 - Make sure that the correct base branch is set

 To be sure you are not breaking any Backward Compatibilities, check the documentation:
 https://docs.sylius.com/en/latest/book/organization/backward-compatibility-promise.html
-->


Commits
-------

ada5870 [UI][CatalogPromotion] Reapply catalog promotion on variant once its data changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API APIs related issues and PRs. Feature New feature proposals.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants