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

[TaxationBundle] DelegatingCalculator use the ServiceRegistry #2897

Merged
merged 1 commit into from
Sep 3, 2015

Conversation

arnolanglade
Copy link
Contributor

Q A
Bug fix? no
New feature? refactoring
BC breaks? no
Deprecations? no
Fixed tickets no
License MIT
Doc PR -

@Sylius/core-team what do you think ?

@arnolanglade arnolanglade changed the title [TaxationBundle] DelegatingCalculator is replaced by the ServiceRegistry [POC][TaxationBundle] DelegatingCalculator is replaced by the ServiceRegistry Jun 18, 2015
<service id="sylius.form.type.tax_calculator_choice" class="%sylius.form.type.tax_calculator_choice.class%">
<argument>%sylius.tax_calculators%</argument>
<tag name="form.type" alias="sylius_tax_calculator_choice" />
</service>

<service id="sylius.tax_calculator" class="%sylius.tax_calculator.class%" />
<service id="sylius.tax_calculator" class="%sylius.tax_calculator.class%">
Copy link
Contributor

Choose a reason for hiding this comment

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

Isn't it better to use sylius.registry.tax_calculator ?

Copy link
Member

Choose a reason for hiding this comment

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

👍

@arnolanglade arnolanglade changed the title [POC][TaxationBundle] DelegatingCalculator is replaced by the ServiceRegistry [TaxationBundle] DelegatingCalculator is replaced by the ServiceRegistry Jun 19, 2015
@arnolanglade
Copy link
Contributor Author

@pjedrzejewski @aramalipoor updated !

@arnolanglade arnolanglade changed the title [TaxationBundle] DelegatingCalculator is replaced by the ServiceRegistry [WIP][TaxationBundle] DelegatingCalculator is replaced by the ServiceRegistry Jun 19, 2015
@arnolanglade
Copy link
Contributor Author

@pjedrzejewski I will revert hte deletion of the DelegatingCalculator because I want to use it like the ShippingBundle

@arnolanglade arnolanglade force-pushed the taxation_registry branch 2 times, most recently from bbf1414 to 745878b Compare June 22, 2015 11:23
@arnolanglade arnolanglade changed the title [WIP][TaxationBundle] DelegatingCalculator is replaced by the ServiceRegistry [TaxationBundle] DelegatingCalculator use the ServiceRegistry Jun 22, 2015
@arnolanglade
Copy link
Contributor Author

@Sylius/core-team / @michalmarcinkowski any feedback ?

@arnolanglade
Copy link
Contributor Author

@pjedrzejewski any feedback ?

@arnolanglade
Copy link
Contributor Author

ping @pjedrzejewski

3 similar comments
@arnolanglade
Copy link
Contributor Author

ping @pjedrzejewski

@arnolanglade
Copy link
Contributor Author

ping @pjedrzejewski

@arnolanglade
Copy link
Contributor Author

ping @pjedrzejewski

pjedrzejewski pushed a commit that referenced this pull request Sep 3, 2015
[TaxationBundle] DelegatingCalculator use the ServiceRegistry
@pjedrzejewski pjedrzejewski merged commit 1719c7d into Sylius:master Sep 3, 2015
@pjedrzejewski
Copy link
Member

How many pings it takes to get something merged? Answer: Ping! 💃 Thank you Arnaud!

pamil pushed a commit to pamil/Sylius that referenced this pull request May 7, 2019
[TaxationBundle] DelegatingCalculator use the ServiceRegistry
pamil pushed a commit to pamil/Sylius that referenced this pull request May 7, 2019
[TaxationBundle] DelegatingCalculator use the ServiceRegistry
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

Successfully merging this pull request may close these issues.

None yet

3 participants