Skip to content

refactor(eventsourcing): improve snapshot function handling and consistency #1800

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

Merged
merged 1 commit into from
Jul 30, 2025

Conversation

Ahoo-Wang
Copy link
Owner

  • Extract snapshotFunction() extension method for NamedAggregate
  • Update AggregateSnapshotDispatcher to use the new snapshotFunction()
  • Modify CompensationMatcher to use processorName instead of function name
  • Update EventCompensateHandlerFunctionTest to use the new snapshotFunction()
  • Refactor SnapshotDispatcher to use the new snapshotFunction() and improve filtering

…stency

- Extract snapshotFunction() extension method for NamedAggregate
- Update AggregateSnapshotDispatcher to use the new snapshotFunction()
- Modify CompensationMatcher to use processorName instead of function name
- Update EventCompensateHandlerFunctionTest to use the new snapshotFunction()
- Refactor SnapshotDispatcher to use the new snapshotFunction() and improve filtering

Signed-off-by: Ahoo Wang <ahoowang@qq.com>
@Ahoo-Wang Ahoo-Wang added the enhancement New feature or request label Jul 30, 2025
@Ahoo-Wang Ahoo-Wang merged commit 836cc37 into main Jul 30, 2025
14 of 15 checks passed
@Ahoo-Wang Ahoo-Wang deleted the snapshot branch July 30, 2025 13:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant