Skip to content

Commit

Permalink
Fixed Marten Append Scope registration (there was a redundant explici…
Browse files Browse the repository at this point in the history
…t registration leftover).
  • Loading branch information
oskardudycz committed Mar 7, 2022
1 parent a153099 commit 9f0d966
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion Core.Marten/Config.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ public static IServiceCollection AddMarten(

services
.AddScoped<IIdGenerator, MartenIdGenerator>()
.AddScoped<IMartenAppendScope, MartenAppendScope>()
.AddMartenAppendScope()
.AddMarten(sp => SetStoreOptions(sp, martenConfig, configureOptions))
.ApplyAllDatabaseChangesOnStartup()
Expand Down
1 change: 0 additions & 1 deletion Core/Tracing/TracingScope.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ public TracingScope CreateTraceScope(IServiceProvider serviceProvider, TraceMeta
var causationIdProvider = serviceProvider.GetRequiredService<ICausationIdProvider>();
causationIdProvider.Set(causationId);

// TODO: Add logger
var loggerScope = logger.BeginScope(new Dictionary<string, object>
{
[CorrelationId.LoggerScopeKey] = correlationId.Value, [CausationId.LoggerScopeKey] = causationId.Value
Expand Down

0 comments on commit 9f0d966

Please sign in to comment.