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

[DRAFT] Enable Using Return Types From Aggregates Methods #236

Closed

Conversation

KarolGrzesiak
Copy link
Contributor

@KarolGrzesiak KarolGrzesiak commented Mar 4, 2024

Summary

As a SDK user I would like to have a possibility of using Aggregates' methods in order to obtain information - this PR aims to start work on it. The design was done pretty quickly, and as a result of that is quite ugly, so just treat it as a starter, it probably can be done way better.

Added

  • Return type from Perform Method in the AggregateRootOperations

Removed

  • Perform Method in the AggregateRootOperations, which takes Func<TAggregate, Task> as an input

@KarolGrzesiak KarolGrzesiak requested a review from mhelleborg March 4, 2024 16:39
@mhelleborg
Copy link
Member

Feature added in #237

@mhelleborg mhelleborg closed this Mar 13, 2024
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.

2 participants