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] Shipping methods resolution #13628
Merged
lchrusciel
merged 7 commits into
Sylius:master
from
TheMilek:shipping-methods-resolution
Feb 18, 2022
Merged
[API] Shipping methods resolution #13628
lchrusciel
merged 7 commits into
Sylius:master
from
TheMilek:shipping-methods-resolution
Feb 18, 2022
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TheMilek
changed the title
[WIP] Shipping methods resolution
[WIP][API] Shipping methods resolution
Feb 9, 2022
TheMilek
force-pushed
the
shipping-methods-resolution
branch
5 times, most recently
from
February 10, 2022 08:26
3ed0200
to
048775f
Compare
AdamKasp
reviewed
Feb 10, 2022
...shipping_method_rules/viewing_available_shipping_methods_based_on_channel_as_a_guest.feature
Outdated
Show resolved
Hide resolved
...d_rules/viewing_available_shipping_methods_based_on_channel_as_an_logged_in_customer.feature
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/DataProvider/CartShippingMethodsCollectionDataProvider.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/DataProvider/CartShippingMethodsCollectionDataProvider.php
Outdated
Show resolved
Hide resolved
Comment on lines
35
to
37
private OrderRepositoryInterface $orderRepository, | ||
private ShipmentRepositoryInterface $shipmentRepository, | ||
private ServiceRegistryInterface $shippingCalculators |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why did you change it?
src/Sylius/Bundle/ApiBundle/Serializer/ShippingMethodNormalizer.php
Outdated
Show resolved
Hide resolved
TheMilek
force-pushed
the
shipping-methods-resolution
branch
3 times, most recently
from
February 10, 2022 14:03
02e8e01
to
5d51e6a
Compare
TheMilek
changed the title
[WIP][API] Shipping methods resolution
[API] Shipping methods resolution
Feb 10, 2022
AdamKasp
reviewed
Feb 10, 2022
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and please remove wip
flag from your commits
src/Sylius/Bundle/ApiBundle/DataProvider/CartShippingMethodsCollectionDataProvider.php
Outdated
Show resolved
Hide resolved
TheMilek
force-pushed
the
shipping-methods-resolution
branch
2 times, most recently
from
February 10, 2022 15:23
e5fbb51
to
ed19222
Compare
lchrusciel
reviewed
Feb 10, 2022
...g/applying_shipping_method_rules/viewing_available_shipping_methods_based_on_channel.feature
Outdated
Show resolved
Hide resolved
...g/applying_shipping_method_rules/viewing_available_shipping_methods_based_on_channel.feature
Outdated
Show resolved
Hide resolved
...g/applying_shipping_method_rules/viewing_available_shipping_methods_based_on_channel.feature
Outdated
Show resolved
Hide resolved
...g/applying_shipping_method_rules/viewing_available_shipping_methods_based_on_channel.feature
Outdated
Show resolved
Hide resolved
TheMilek
force-pushed
the
shipping-methods-resolution
branch
2 times, most recently
from
February 10, 2022 16:37
09128b2
to
605a8e0
Compare
AdamKasp
reviewed
Feb 10, 2022
src/Sylius/Bundle/ApiBundle/DataProvider/CartShippingMethodsCollectionDataProvider.php
Outdated
Show resolved
Hide resolved
AdamKasp
reviewed
Feb 10, 2022
src/Sylius/Bundle/ApiBundle/DataProvider/CartShippingMethodsCollectionDataProvider.php
Outdated
Show resolved
Hide resolved
GSadee
reviewed
Feb 10, 2022
...hipping/viewing_shipping_methods/viewing_available_shipping_methods_based_on_channel.feature
Outdated
Show resolved
Hide resolved
...hipping/viewing_shipping_methods/viewing_available_shipping_methods_based_on_channel.feature
Outdated
Show resolved
Hide resolved
...hipping/viewing_shipping_methods/viewing_available_shipping_methods_based_on_channel.feature
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/DataProvider/CartShippingMethodsCollectionDataProvider.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/DataProvider/CartShippingMethodsCollectionDataProvider.php
Outdated
Show resolved
Hide resolved
TheMilek
force-pushed
the
shipping-methods-resolution
branch
2 times, most recently
from
February 11, 2022 08:16
d536811
to
cde0e99
Compare
lchrusciel
reviewed
Feb 11, 2022
...ing/viewing_shipping_methods/viewing_available_shipping_methods_based_on_order_total.feature
Outdated
Show resolved
Hide resolved
...ng/viewing_shipping_methods/viewing_available_shipping_methods_based_on_total_weight.feature
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/spec/DataProvider/CartShippingMethodsCollectionDataProviderSpec.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/spec/DataProvider/CartShippingMethodsCollectionDataProviderSpec.php
Outdated
Show resolved
Hide resolved
Zales0123
reviewed
Feb 11, 2022
src/Sylius/Bundle/ApiBundle/DataProvider/CartShippingMethodsCollectionDataProvider.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/DataProvider/CartShippingMethodsCollectionDataProvider.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/Serializer/ShippingMethodNormalizer.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/spec/Serializer/ShippingMethodNormalizerSpec.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/spec/Serializer/ShippingMethodNormalizerSpec.php
Outdated
Show resolved
Hide resolved
TheMilek
force-pushed
the
shipping-methods-resolution
branch
from
February 11, 2022 11:12
cde0e99
to
b49f2e9
Compare
TheMilek
force-pushed
the
shipping-methods-resolution
branch
3 times, most recently
from
February 15, 2022 17:15
440bc98
to
6e1e8f9
Compare
AdamKasp
approved these changes
Feb 15, 2022
TheMilek
force-pushed
the
shipping-methods-resolution
branch
2 times, most recently
from
February 16, 2022 07:27
e1a6906
to
dd1a1dd
Compare
Zales0123
reviewed
Feb 16, 2022
src/Sylius/Bundle/ApiBundle/DataProvider/CartShippingMethodsCollectionDataProvider.php
Outdated
Show resolved
Hide resolved
...hipping/viewing_shipping_methods/viewing_available_shipping_methods_based_on_channel.feature
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/ApiBundle/Serializer/ShippingMethodNormalizer.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ShipmentRepository.php
Outdated
Show resolved
Hide resolved
src/Sylius/Bundle/CoreBundle/Doctrine/ORM/ShipmentRepository.php
Outdated
Show resolved
Hide resolved
TheMilek
force-pushed
the
shipping-methods-resolution
branch
from
February 16, 2022 08:22
dd1a1dd
to
f2d7eb4
Compare
AdamKasp
suggested changes
Feb 16, 2022
TheMilek
force-pushed
the
shipping-methods-resolution
branch
from
February 16, 2022 15:00
f2d7eb4
to
76fb1d7
Compare
lchrusciel
reviewed
Feb 16, 2022
src/Sylius/Bundle/ApiBundle/spec/DataProvider/CartShippingMethodsCollectionDataProviderSpec.php
Outdated
Show resolved
Hide resolved
TheMilek
force-pushed
the
shipping-methods-resolution
branch
from
February 17, 2022 08:19
76fb1d7
to
3c22f65
Compare
TheMilek
force-pushed
the
shipping-methods-resolution
branch
from
February 17, 2022 08:26
3c22f65
to
f3033b7
Compare
lchrusciel
reviewed
Feb 17, 2022
src/Sylius/Bundle/ApiBundle/Serializer/ShippingMethodNormalizer.php
Outdated
Show resolved
Hide resolved
AdamKasp
approved these changes
Feb 17, 2022
TheMilek
force-pushed
the
shipping-methods-resolution
branch
from
February 17, 2022 11:31
f3033b7
to
088051c
Compare
lchrusciel
approved these changes
Feb 18, 2022
Thank you, Kamil! 🎉 |
GSadee
added a commit
that referenced
this pull request
Feb 23, 2022
…changes (TheMilek) This PR was merged into the 1.12-dev branch. Discussion ---------- | Q | A | --------------- | ----- | Branch? | master <!-- see the comment below --> | Bug fix? | no | New feature? | no | Deprecations? | no <!-- don't forget to update the UPGRADE-*.md file --> | Related tickets | #13628 | License | MIT <!-- - Bug fixes must be submitted against the 1.10 or 1.11 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 ------- 2ee5438 information about shippingMethods endpoints changes documented
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ShippingMethods as an subresource was causing unwanted behaviour - we decided to make it into a collection to solve the problem