Refactor RecAction.ErrorAction to use enum type
Changed ErrorAction property in RecAction from string? to ErrorAction? enum for improved type safety. Added import for ReC.Domain.Constants to support the new type.
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
namespace ReC.Domain.Entities;
|
||||
using ReC.Domain.Constants;
|
||||
|
||||
namespace ReC.Domain.Entities;
|
||||
|
||||
public class RecAction
|
||||
{
|
||||
@@ -36,7 +38,7 @@ public class RecAction
|
||||
|
||||
public string? PostprocessingQuery { get; set; }
|
||||
|
||||
public string? ErrorAction { get; set; }
|
||||
public ErrorAction? ErrorAction { get; set; }
|
||||
|
||||
public string? AddedWho { get; set; }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user