We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6c3b8f5 commit da4fe44Copy full SHA for da4fe44
src/Mx.NET.SDK.Core/Domain/Values/EnumValue.cs
@@ -28,7 +28,7 @@ public override T ToObject<T>()
28
29
public override string ToJson()
30
{
31
- return JsonUnqtWrapper.Serialize((Name, Fields.Select(f => f.Value.ToJson())));
+ return JsonUnqtWrapper.Serialize((Name, Fields?.Select(f => f.Value.ToJson())));
32
}
33
34
0 commit comments