[API] Registering shop users#11356
Conversation
| # 'App\Message\YourMessage': async | ||
|
|
||
| buses: | ||
| messenger.bus.default: |
There was a problem hiding this comment.
WDYT about prefixing this bus with some sylius keyword?
Also, WDYT about defining a default bus? This way, all of the plugins could use the same main bus.
Plus, this file should be part of Api/CoreBundle, so we can share this configuration with third party users.
There was a problem hiding this comment.
I'm not sure if I should tackle this issue in this PR - what about creating an issue about that to keep track of it, not to grow this PR even bigger.
5b71d57 to
ee7fd51
Compare
ee7fd51 to
adcf83a
Compare
0a10cbf to
7b11178
Compare
| run_command "git fetch origin $TRAVIS_BRANCH:refs/remotes/origin/$TRAVIS_BRANCH" || exit $? # Make origin/master available for is_suitable steps | ||
| run_command "phpenv config-rm xdebug.ini" # Disable XDebug | ||
| run_command "echo \"memory_limit=4096M\" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini" || exit $? # Increase memory limit to 4GB | ||
| run_command "echo \"memory_limit=6144M\" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini" || exit $? # Increase memory limit to 4GB |
There was a problem hiding this comment.
| run_command "echo \"memory_limit=6144M\" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini" || exit $? # Increase memory limit to 4GB | |
| run_command "echo \"memory_limit=6144M\" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini" || exit $? # Increase memory limit to 6GB |
| install_package="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/install-package" | ||
|
|
||
| locate_packages | parallel -j "$(get_number_of_jobs_for_parallel)" --gnu "${install_package} {} $* $(reset_cache)" | ||
| locate_packages | parallel -j1 --gnu "${install_package} {} $* $(reset_cache)" |
There was a problem hiding this comment.
Why do we need this change?
| use Sylius\Component\User\Canonicalizer\CanonicalizerInterface; | ||
| use Symfony\Component\Messenger\Handler\MessageHandlerInterface; | ||
|
|
||
| class RegisterShopUserHandler implements MessageHandlerInterface |
There was a problem hiding this comment.
I thought about opening RegisterShopUser only. Imho, this class could be finalized
|
Thank you, Kamil! 🥇 |
…iding customer to a separate service (GSadee) This PR was merged into the 1.8-dev branch. Discussion ---------- | Q | A | --------------- | ----- | Branch? | master | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Related tickets | fixes for review from #11356 | License | MIT Commits ------- 501c2ab Move messenger config to bundles e5f9696 Extract providing customer to separate service a6e2f53 [Travis] Fix comment
We need to customise the test API client to not force
adminprefix in further PRs.