Skip to content

Commit

Permalink
bug #556 [Performance] Add back cached channel context (lchrusciel)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.0-dev branch.

Discussion
----------

Closes #534

Before:
![image](https://user-images.githubusercontent.com/6213903/65386072-2417f380-dd37-11e9-96a2-5afac7fbda18.png)

After:
![image](https://user-images.githubusercontent.com/6213903/65386076-2ed28880-dd37-11e9-8a34-eb56fd63d941.png)


Commits
-------

6563c58 [Performance] Add back cached channel context
  • Loading branch information
mamazu authored Sep 22, 2019
2 parents 7f048f0 + 6563c58 commit 8d012e4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 28 deletions.
19 changes: 0 additions & 19 deletions src/DependencyInjection/Compiler/ChannelContextPass.php

This file was deleted.

9 changes: 0 additions & 9 deletions src/SyliusShopApiPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,9 @@
namespace Sylius\ShopApiPlugin;

use Sylius\Bundle\CoreBundle\Application\SyliusPluginTrait;
use Sylius\ShopApiPlugin\DependencyInjection\Compiler\ChannelContextPass;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\HttpKernel\Bundle\Bundle;

final class SyliusShopApiPlugin extends Bundle
{
use SyliusPluginTrait;

public function build(ContainerBuilder $container): void
{
parent::build($container);

$container->addCompilerPass(new ChannelContextPass());
}
}

0 comments on commit 8d012e4

Please sign in to comment.