Skip to content

Union type Aggregate Event Handlers#580

Merged
dgafka merged 6 commits intomainfrom
hotfix/union-type-handlers
Dec 13, 2025
Merged

Union type Aggregate Event Handlers#580
dgafka merged 6 commits intomainfrom
hotfix/union-type-handlers

Conversation

@dgafka
Copy link
Member

@dgafka dgafka commented Dec 12, 2025

Why is this change proposed?

So far it was only possible to use Event Handlers on Application level Services, but not on Aggregate.
This PR adds support for union types on Aggregate Event Handlers, to keep the same user experience in both scenarios.

Description of Changes

Union Event Handlers test case

Pull Request Contribution Terms

  • I have read and agree to the contribution terms outlined in CONTRIBUTING.

@dgafka
Copy link
Member Author

dgafka commented Dec 12, 2025

#579 cc: @tandev this confirms it does work

@dgafka dgafka changed the title Union type event handlers Union type Aggregate Event Handlers Dec 13, 2025
@dgafka dgafka merged commit 6f8ab35 into main Dec 13, 2025
8 checks passed
@dgafka dgafka deleted the hotfix/union-type-handlers branch December 13, 2025 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant