Nullable enum type can't use on workload.
the9ball opened this issue · comments
I use nullable enum type.
public enum WorkerType
{
A,
B,
}
public class NullableWorkload : Workload
{
public NullableWorkload(WorkerType? t) { }
public override Task ExecuteAsync(WorkloadContext context) => Task.CompletedTask;
}
public class NotNullableWorkload : Workload
{
public NotNullableWorkload(WorkerType t) { }
public override Task ExecuteAsync(WorkloadContext context) => Task.CompletedTask;
}
But, Only null
in dropdown list.
I hope null
, A
, B
in dropdown list.
thanks, I've released 1.0.6, it includes this fix.