Skip to content

Commit 040d11e

Browse files
committed
disable warn at BatchBase.Context
1 parent 9a9ecfc commit 040d11e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/MicroBatchFramework/BatchBase.cs

+5-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
{
33
public abstract class BatchBase
44
{
5-
public BatchContext? Context { get; set; }
5+
// Context will be set non-null value by BatchEngine,
6+
// but it might be null because it has public setter.
7+
#nullable disable warnings
8+
public BatchContext Context { get; set; }
9+
#nullable restore warnings
610
}
711
}

0 commit comments

Comments
 (0)