This pull request introduces changes to explicitly select PostgreSql as the persistence option in EventFlow, overriding the default persistence settings.
Updates UsePostgreSqlEventStore extension method: The method now first removes any existing IEventPersistence registrations before adding PostgreSqlEventPersistence. This ensures that PostgreSql is used as the event persistence mechanism when this extension method is called, addressing the issue where the default persistence setting was not being overridden.
Related to #1034
This pull request introduces changes to explicitly select PostgreSql as the persistence option in EventFlow, overriding the default persistence settings.
UsePostgreSqlEventStore
extension method: The method now first removes any existingIEventPersistence
registrations before addingPostgreSqlEventPersistence
. This ensures that PostgreSql is used as the event persistence mechanism when this extension method is called, addressing the issue where the default persistence setting was not being overridden.For more details, open the Copilot Workspace session.