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

Fix issue 182 #185

Merged
merged 2 commits into from
Dec 2, 2016
Merged

Fix issue 182 #185

merged 2 commits into from
Dec 2, 2016

Conversation

jonsequitur
Copy link
Owner

This fixes issue #182 by enforcing that TargetId or AggregateId are passed to the constructor of ConstructorCommand<T>, and then enforcing in the constructor of ScheduledCommand<T> that ScheduledCommand<T>.TargetId / AggregateId matches ScheduledCommand<T>.TargetId / AggregateId.

This isn't ideal but a cleaner approach will have to wait until strings become the default for identifiers for event sourced aggregates (#26).

@jonsequitur jonsequitur merged commit 8818836 into master Dec 2, 2016
@jonsequitur jonsequitur deleted the fix-issue-182 branch October 25, 2017 18:05
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.

1 participant