From 473358e2b9d836fc985a1a76abb30fd488c84248 Mon Sep 17 00:00:00 2001 From: TekH Date: Mon, 9 Mar 2026 16:30:39 +0100 Subject: [PATCH] Make ExportPath non-nullable in ConfigDto Changed ExportPath from a nullable string to a non-nullable string in ConfigDto and initialized it with the null-forgiving operator. This ensures ExportPath always has a value and cannot be null. --- EnvelopeGenerator.Application/Common/Dto/ConfigDto.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/EnvelopeGenerator.Application/Common/Dto/ConfigDto.cs b/EnvelopeGenerator.Application/Common/Dto/ConfigDto.cs index 45eb0188..d6f68654 100644 --- a/EnvelopeGenerator.Application/Common/Dto/ConfigDto.cs +++ b/EnvelopeGenerator.Application/Common/Dto/ConfigDto.cs @@ -31,7 +31,7 @@ public class ConfigDto /// /// Gets or sets the path where exports will be saved. /// - public string? ExportPath { get; set; } + public string ExportPath { get; set; } = null!; /// /// Gets or sets the creation timestamp.