From 6bf7e8aeeed07defa70058440191e70c9e9fb193 Mon Sep 17 00:00:00 2001 From: Ruben Rasmussen Date: Sun, 15 Dec 2024 10:50:21 +0100 Subject: [PATCH] going public for AggregatorFor for exposing the ILiveAggregator functionality for custom construction of aggregates. --- src/Marten/Events/Projections/ProjectionOptions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Marten/Events/Projections/ProjectionOptions.cs b/src/Marten/Events/Projections/ProjectionOptions.cs index 71e6124638..ea94fcb908 100644 --- a/src/Marten/Events/Projections/ProjectionOptions.cs +++ b/src/Marten/Events/Projections/ProjectionOptions.cs @@ -430,7 +430,7 @@ internal bool Any() return All.Any() || _subscriptions.Any(); } - internal ILiveAggregator AggregatorFor() where T : class + public ILiveAggregator AggregatorFor() where T : class { if (_liveAggregators.TryFind(typeof(T), out var aggregator)) {