Skip to content

Commit c73a5d1

Browse files
committed
enhancement(mutator): expose mutation actor type to consumers
1 parent 8e6f388 commit c73a5d1

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/Abstractions/Context/ActorType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ namespace ModularityKit.Mutator.Abstractions.Context;
44
/// Defines the type of actor performing a mutation.
55
/// Provides context for auditing, tracking, and governance of system changes.
66
/// </summary>
7-
internal enum ActorType
7+
public enum ActorType
88
{
99
/// <summary>
1010
/// Unknown actor type.

src/Abstractions/Context/MutationContext.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public sealed record MutationContext
3939
/// <summary>
4040
/// Type of actor performing the mutation.
4141
/// </summary>
42-
internal ActorType ActorType { get; init; } = ActorType.Unknown;
42+
public ActorType ActorType { get; internal init; } = ActorType.Unknown;
4343

4444
/// <summary>
4545
/// Reason for performing the mutation.

0 commit comments

Comments
 (0)