From 2a09f7b604f82ffdf13d67b1171ee9ed9da9e41e Mon Sep 17 00:00:00 2001 From: Lyall Guiney Date: Thu, 9 Apr 2026 09:57:11 +0100 Subject: [PATCH 1/2] Expose WolverineOptions.MetadataRules publicly --- src/Wolverine/WolverineOptions.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/Wolverine/WolverineOptions.cs b/src/Wolverine/WolverineOptions.cs index 3ac7eec81..95b259a14 100644 --- a/src/Wolverine/WolverineOptions.cs +++ b/src/Wolverine/WolverineOptions.cs @@ -267,10 +267,11 @@ public MultipleHandlerBehavior MultipleHandlerBehavior public MessagePartitioningRules MessagePartitioning { get; } /// - /// Internal list of IEnvelopeRule instances that are applied via ApplyCorrelation - /// to outgoing envelopes in PersistOrSendAsync + /// List of instances applied to every outgoing envelope via + /// . Add custom rules here to propagate + /// metadata from incoming to outgoing messages within a handler context. /// - internal List MetadataRules { get; } = new(); + public List MetadataRules { get; } = new(); /// For advanced usages, this gives you the ability to register pre-canned message handling From 65e2da4781dbc1f2c39693827c262e8460bb6df3 Mon Sep 17 00:00:00 2001 From: Lyall Guiney Date: Thu, 9 Apr 2026 10:42:38 +0100 Subject: [PATCH 2/2] fix xml doc --- src/Wolverine/WolverineOptions.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Wolverine/WolverineOptions.cs b/src/Wolverine/WolverineOptions.cs index 95b259a14..a65bc9b0d 100644 --- a/src/Wolverine/WolverineOptions.cs +++ b/src/Wolverine/WolverineOptions.cs @@ -267,9 +267,7 @@ public MultipleHandlerBehavior MultipleHandlerBehavior public MessagePartitioningRules MessagePartitioning { get; } /// - /// List of instances applied to every outgoing envelope via - /// . Add custom rules here to propagate - /// metadata from incoming to outgoing messages within a handler context. + /// List of instances applied to every outgoing envelope. /// public List MetadataRules { get; } = new();