Skip to content

Commit

Permalink
fix signature for composed types of collections
Browse files Browse the repository at this point in the history
  • Loading branch information
rkodev committed Nov 21, 2024
1 parent e80f9b9 commit 4ae6be9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public override string GetParameterSignature(CodeParameter parameter, CodeElemen

// add a 'Parsable' type to the parameter if it is composed of non-Parsable types
var parsableTypes = (
composedType != null && !composedType.IsComposedOfObjects(IsPrimitiveType),
composedType != null && (!composedType.IsComposedOfObjects(IsPrimitiveType) || composedType.Types.Any(x => x.IsCollection)),
parameter.Parent is CodeMethod method && (method.IsOfKind(CodeMethodKind.Deserializer, CodeMethodKind.Serializer))
) switch
{
Expand Down

0 comments on commit 4ae6be9

Please sign in to comment.