Skip to content

Commit b4a1b69

Browse files
committed
feat: Update ShouldTrackWithThisProvider to support generic provider types
Signed-off-by: André Silva <[email protected]>
1 parent e4b4313 commit b4a1b69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/OpenFeature.Providers.MultiProvider/Strategies/BaseEvaluationStrategy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public virtual bool ShouldEvaluateNextProvider<T>(StrategyPerProviderContext<T>
6666
/// <param name="trackingEventName">The name of the tracking event.</param>
6767
/// <param name="trackingEventDetails">The tracking event details.</param>
6868
/// <returns>True if the provider should receive tracking events, false otherwise.</returns>
69-
public virtual bool ShouldTrackWithThisProvider(StrategyPerProviderContext<object> strategyContext, EvaluationContext? evaluationContext, string trackingEventName, TrackingEventDetails? trackingEventDetails)
69+
public virtual bool ShouldTrackWithThisProvider<T>(StrategyPerProviderContext<T> strategyContext, EvaluationContext? evaluationContext, string trackingEventName, TrackingEventDetails? trackingEventDetails)
7070
{
7171
// By default, track with providers that are ready
7272
return strategyContext.ProviderStatus == ProviderStatus.Ready;

0 commit comments

Comments
 (0)