Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

IdentifiedCommand replaced with ExistingCommandBehavior in MediatR pipeline #660

Conversation

domenkogler
Copy link

@domenkogler domenkogler commented Jul 2, 2018

IdentifiedCommand replaced with ExistingCommandBehavior in MediatR pipeline.
Implementing response for existing command is now simpler and actual command is passed as parameter.
Added Tests, also for ValidatorBehavior.
#661 Also contains #654

@mvelosop
Copy link
Collaborator

mvelosop commented Mar 5, 2019

Hi @domenkogler, this change seems interesting but the domain events processing pipeline had a significant overhaul to handle a set of issues, related to #700, so this code is highly outdated now.

Anyway I'm not sure if it'd be a good idea to add the existing command behavior, because not all domain events are commands that need to have verified for uniqueness.

In the future I'd recommend that before embarking in a PR of this magnitude, you begin a discussion with an issue and check with @CESARDELATORRE, because these changes also have to be reflected in the Microservices guide/e-book

@mvelosop
Copy link
Collaborator

mvelosop commented Mar 5, 2019

Closing this PR now but feel free to comment, will reopen if needed.

@mvelosop mvelosop closed this Mar 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants