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

Adding Hosting Extensions for Akka.Persistence.MongoDB #331

Merged
merged 16 commits into from
Jul 17, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make sure that Persistence.Query default hocon configurations are loaded
  • Loading branch information
gsoedharmo-conga committed Jul 17, 2023
commit 90beb719ab5e46b6d5048e536ae128514a4aafa0
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ public static AkkaConfigurationBuilder WithMongoDbPersistence(
(_, null) =>
builder
.AddHocon(journalOptions.ToConfig(), HoconAddMode.Prepend)
.AddHocon(journalOptions.DefaultConfig, HoconAddMode.Append),
.AddHocon(journalOptions.DefaultConfig, HoconAddMode.Append)
.AddHocon(MongoDbPersistence.DefaultConfiguration(), HoconAddMode.Append),

(null, _) =>
builder
Expand All @@ -207,7 +208,8 @@ public static AkkaConfigurationBuilder WithMongoDbPersistence(
.AddHocon(journalOptions.ToConfig(), HoconAddMode.Prepend)
.AddHocon(snapshotOptions.ToConfig(), HoconAddMode.Prepend)
.AddHocon(journalOptions.DefaultConfig, HoconAddMode.Append)
.AddHocon(snapshotOptions.DefaultConfig, HoconAddMode.Append),
.AddHocon(snapshotOptions.DefaultConfig, HoconAddMode.Append)
.AddHocon(MongoDbPersistence.DefaultConfiguration(), HoconAddMode.Append),
};
}
}