Skip to content

Commit b1c4561

Browse files
committed
Revert change
1 parent 7032454 commit b1c4561

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/DynamoDBGenerator.SourceGenerator/Generations/UnMarshaller.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ private static CodeFactory CreateMethod(TypeIdentifier typeIdentifier, Func<ITyp
102102
{
103103
SingleGeneric.SupportedType.Nullable => signature
104104
.CreateScope(
105-
$"if ({Value} is null)"
105+
$"if ({Value} is null || {Value}.NULL is true)"
106106
.CreateScope(singleGeneric.ReturnNullOrThrow(DataMember))
107107
.Append($"return {InvokeUnmarshallMethod(singleGeneric.T, Value, DataMember, options)};" )
108108
)

0 commit comments

Comments
 (0)