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

Use simplified command handler #84

Merged
merged 4 commits into from
Feb 21, 2021
Merged

Conversation

lcobucci
Copy link
Member

This makes the application registration use a command handler provided by chimera/bus-tactician, which removes some method calls and allows us to name methods on handlers according to the needs - instead of forcing some convention...

Lock file operations: 0 installs, 3 updates, 1 removal
  - Removing league/tactician-container (2.0.0)
  - Upgrading chimera/bus-tactician (0.4.x-dev a0b732c => 0.4.x-dev 0134905)
  - Upgrading doctrine/annotations (1.11.1 => 1.12.0)
  - Upgrading phpstan/phpstan (0.12.77 => 0.12.78)
This reduces the amount of components being called to process a
command/query by relying on a simplified command handler.

That implementation uses a static list of service+method, indexed by the
FQCN of the message being processed.
These are no longer being used.
@lcobucci lcobucci added the New Feature New feature or request label Feb 21, 2021
@lcobucci lcobucci added this to the 0.4.0 milestone Feb 21, 2021
@lcobucci lcobucci self-assigned this Feb 21, 2021
@lcobucci lcobucci merged commit 71f696e into 0.4.x Feb 21, 2021
@lcobucci lcobucci deleted the use-simplified-command-handler branch February 21, 2021 13:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
New Feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant