fix(validation): MV-5 review nit — use IsNullOrWhiteSpace for List default-value guard (consistency)
This commit is contained in:
@@ -312,7 +312,7 @@ public class SemanticValidator
|
||||
}
|
||||
|
||||
// ── Rule 2: default-value parseability ───────────────────────────
|
||||
if (!string.IsNullOrEmpty(attr.Value))
|
||||
if (!string.IsNullOrWhiteSpace(attr.Value))
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user