From c73a5d12cd20da97eb07868ab10dca6ff7dfb612 Mon Sep 17 00:00:00 2001 From: "Rian.be" Date: Tue, 28 Jul 2026 02:48:54 +0200 Subject: [PATCH] enhancement(mutator): expose mutation actor type to consumers --- src/Abstractions/Context/ActorType.cs | 2 +- src/Abstractions/Context/MutationContext.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Abstractions/Context/ActorType.cs b/src/Abstractions/Context/ActorType.cs index 9c38aa3..b00eb2e 100644 --- a/src/Abstractions/Context/ActorType.cs +++ b/src/Abstractions/Context/ActorType.cs @@ -4,7 +4,7 @@ namespace ModularityKit.Mutator.Abstractions.Context; /// Defines the type of actor performing a mutation. /// Provides context for auditing, tracking, and governance of system changes. /// -internal enum ActorType +public enum ActorType { /// /// Unknown actor type. diff --git a/src/Abstractions/Context/MutationContext.cs b/src/Abstractions/Context/MutationContext.cs index b058f1b..76ac1e7 100644 --- a/src/Abstractions/Context/MutationContext.cs +++ b/src/Abstractions/Context/MutationContext.cs @@ -39,7 +39,7 @@ public sealed record MutationContext /// /// Type of actor performing the mutation. /// - internal ActorType ActorType { get; init; } = ActorType.Unknown; + public ActorType ActorType { get; internal init; } = ActorType.Unknown; /// /// Reason for performing the mutation.