-
-
Notifications
You must be signed in to change notification settings - Fork 288
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Marten ProviderUpdate and Persistence provider test (#2031)
* feat: Update Marten package version to 6.0.2 - Updated the Marten package version from 4.3.1 to 6.0.2 in the project file. - Changed the access modifier of the `Event` and `Snapshot` classes from internal to public in the `Proto.Persistence.Marten` namespace. - Replaced calls to `_store.OpenSession()` with `_store.IdentitySession()` in the `MartenProvider` class for consistency. - Added new test cases for different providers (InMemory and Marten) in the `ExamplePersistentActorTests` class: - EventsAreSavedToPersistence - SnapshotsAreSavedToPersistence - EventsCanBeDeleted - SnapshotsCanBeDeleted - GivenEventsOnly_StateIsRestoredFromEvents - GivenASnapshotOnly_StateIsRestoredFromTheSnapshot - GivenEventsThenASnapshot_StateShouldBeRestoredFromTheSnapshot - GivenASnapshotAndSubsequentEvents_StateShouldBeRestoredFromSnapshotAndSubsequentEvents - GivenMultipleSnapshots_StateIsRestoredFromMostRecentSnapshot * Refactor tests to use Sqlite provider * Add support for additional persistence providers This commit adds support for the following persistence providers: - Couchbase - DynamoDB - MongoDB - RavenDB - SQL Server It also includes changes to the ExamplePersistentActorTests class to test the functionality of these new providers. * removed providers --------- Co-authored-by: Giuseppe Patanè <[email protected]>
- Loading branch information
1 parent
d77dbaa
commit f3e874f
Showing
7 changed files
with
264 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.