Skip to content

Commit 042c44d

Browse files
authored
remove weird nullable (LEGO#18)
remove weird nullable (LEGO#18)
1 parent 86d0363 commit 042c44d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/LEGO.AsyncAPI/Models/Any/String.cs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,14 +24,14 @@ public String(string value)
2424
/// <summary>
2525
/// Value.
2626
/// </summary>
27-
public string? Value { get; set; }
27+
public string Value { get; set; }
2828

2929
/// <summary>
3030
/// AnyType.Primitive.
3131
/// </summary>
3232
public AnyType AnyType => AnyType.Primitive;
3333

34-
public static explicit operator string?(String s) => s.Value;
34+
public static explicit operator string(String s) => s.Value;
3535

3636
public static explicit operator String(string s) => new() { Value = s };
3737
}

0 commit comments

Comments
 (0)