You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -74,12 +74,12 @@ _ when typeSymbol.IsNullable() => $"if ({param} is null)".CreateScope(
74
74
.Concat(
75
75
$"if ({self}.IsValueCreated)"
76
76
.CreateScope(
77
-
$"yield return new ({self}.Value, {Marshaller.InvokeMarshallerMethod(typeSymbol,"entity",$"\"{structName}\"",options,MarshallerOptions.FieldReference)}{HandeNullability(typeSymbol)});"
77
+
$"yield return new ({self}.Value, {Marshaller.InvokeMarshallerMethod(typeIdentifier,"entity",$"\"{structName}\"",options,MarshallerOptions.FieldReference)}{HandeNullability(typeIdentifier)});"
$"foreach (var x in ({x.DDB.DataMember.Name} as {x.AttributeInterfaceName}).{Constants.DynamoDBGenerator.Marshaller.AttributeExpressionValueTrackerAccessedValues}({accessPattern}))"
$"yield return new ({x.DDB.DataMember.NameAsPrivateField}.Value, {Marshaller.InvokeMarshallerMethod(x.DDB.DataMember.Type,$"entity.{x.DDB.DataMember.Name}",$"\"{x.DDB.DataMember.Name}\"",options,MarshallerOptions.FieldReference)}{HandeNullability(x.DDB.DataMember.Type)});"
114
+
$"yield return new ({x.DDB.DataMember.NameAsPrivateField}.Value, {Marshaller.InvokeMarshallerMethod(x.DDB.DataMember.TypeIdentifier,$"entity.{x.DDB.DataMember.Name}",$"\"{x.DDB.DataMember.Name}\"",options,MarshallerOptions.FieldReference)}{HandeNullability(x.DDB.DataMember.TypeIdentifier)});"
.Append($"return new {Constants.AWSSDK_DynamoDBv2.AttributeValue} {{ SS = new List<{(singleGeneric.IsTNullable?"string?":"string")}>({(singleGeneric.IsTNullable?ParamReference:$"{ParamReference}.Select((y,i) => y ?? throw {ExceptionHelper.NullExceptionMethod}($\"{{{DataMember}}}[UNKNOWN]\"))")})}};")
146
+
.Append($"return new {Constants.AWSSDK_DynamoDBv2.AttributeValue} {{ SS = new List<{(singleGeneric.T.IsNullable?"string?":"string")}>({(singleGeneric.T.IsNullable?ParamReference:$"{ParamReference}.Select((y,i) => y ?? throw {ExceptionHelper.NullExceptionMethod}($\"{{{DataMember}}}[UNKNOWN]\"))")})}};")
0 commit comments