@@ -44,11 +44,11 @@ public static class UnMarshaller
44
44
45
45
}
46
46
internal static IEnumerable < string > CreateClass ( IEnumerable < DynamoDBMarshallerArguments > arguments ,
47
- Func < ITypeSymbol , ImmutableArray < DynamoDbDataMember > > getDynamoDbProperties , MarshallerOptions options )
47
+ Func < ITypeSymbol , DynamoDbDataMember [ ] > getDynamoDbProperties , MarshallerOptions options )
48
48
{
49
49
return $ "private static class { UnMarshallerClass } ". CreateScope ( CreateTypeContents ( arguments , getDynamoDbProperties , options ) ) ;
50
50
}
51
- private static CodeFactory CreateCode ( ITypeSymbol type , Func < ITypeSymbol , ImmutableArray < DynamoDbDataMember > > fn , MarshallerOptions options )
51
+ private static CodeFactory CreateCode ( ITypeSymbol type , Func < ITypeSymbol , DynamoDbDataMember [ ] > fn , MarshallerOptions options )
52
52
{
53
53
var assignments = fn ( type )
54
54
. Select ( x => ( DDB : x , MethodCall : InvokeUnmarshallMethod ( x . DataMember . Type , $ "{ Dict } .GetValueOrDefault(\" { x . AttributeName } \" )", $ "\" { x . DataMember . Name } \" ", options ) , x . DataMember . Name ) )
@@ -71,7 +71,7 @@ private static CodeFactory CreateCode(ITypeSymbol type, Func<ITypeSymbol, Immuta
71
71
return new CodeFactory ( method , assignments . Select ( x => x . DDB . DataMember . Type ) ) ;
72
72
73
73
}
74
- private static CodeFactory CreateMethod ( ITypeSymbol type , Func < ITypeSymbol , ImmutableArray < DynamoDbDataMember > > fn ,
74
+ private static CodeFactory CreateMethod ( ITypeSymbol type , Func < ITypeSymbol , DynamoDbDataMember [ ] > fn ,
75
75
MarshallerOptions options )
76
76
{
77
77
@@ -138,7 +138,7 @@ private static string CreateSignature(ITypeSymbol typeSymbol)
138
138
return $ "public static { typeSymbol . Representation ( ) . annotated } { GetDeserializationMethodName ( typeSymbol ) } (AttributeValue? { Value } , { MarshallerOptions . Name } { MarshallerOptions . ParamReference } , string? { DataMember } = null)";
139
139
}
140
140
private static IEnumerable < string > CreateTypeContents ( IEnumerable < DynamoDBMarshallerArguments > arguments ,
141
- Func < ITypeSymbol , ImmutableArray < DynamoDbDataMember > > getDynamoDbProperties , MarshallerOptions options )
141
+ Func < ITypeSymbol , DynamoDbDataMember [ ] > getDynamoDbProperties , MarshallerOptions options )
142
142
{
143
143
var hashSet = new HashSet < ITypeSymbol > ( SymbolEqualityComparer . IncludeNullability ) ;
144
144
return arguments . SelectMany ( x =>
0 commit comments