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

make the AggregateManager deref blanket implementation work for smart pointers #187

Merged

Conversation

angelo-rendina-prima
Copy link
Contributor

The blanket implementation should be generic in the EventStore.
As it is currently written, it works for (smart) pointers to trait objects ONLY, and not for concrete types that implement the EventStore trait, e.g.
Arc<dyn EventStore> receives the target implementation, whereas Arc<PgStore> does not

@angelo-rendina-prima angelo-rendina-prima requested a review from a team as a code owner February 5, 2024 10:10
@angelo-rendina-prima angelo-rendina-prima force-pushed the fix-blanket-implementation-for-aggregate-manager branch from 78116fd to 9e78b5d Compare February 5, 2024 10:15
cottinisimone
cottinisimone previously approved these changes Feb 5, 2024
@cottinisimone cottinisimone changed the base branch from master to PLATFORM-1504/bug/examples-are-not-compiling-with-rust-1-75 February 8, 2024 10:48
@cottinisimone cottinisimone force-pushed the fix-blanket-implementation-for-aggregate-manager branch from 9e78b5d to 191b8b7 Compare February 8, 2024 10:48
Base automatically changed from PLATFORM-1504/bug/examples-are-not-compiling-with-rust-1-75 to master February 9, 2024 09:55
@cottinisimone cottinisimone dismissed their stale review February 9, 2024 09:55

The base branch was changed.

@angelo-rendina-prima angelo-rendina-prima merged commit 04c87d8 into master Feb 12, 2024
7 checks passed
@angelo-rendina-prima angelo-rendina-prima deleted the fix-blanket-implementation-for-aggregate-manager branch February 12, 2024 08:59
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