Skip to content

Commit

Permalink
victools#484 re-use isArrayType to be more consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
dcdh committed Oct 16, 2024
1 parent 6dd7b47 commit c19718d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -546,7 +546,7 @@ private <T> ConfigFunction<TypeScope, T> createTypePropertyResolver(
*/
private Optional<Schema> getArraySchemaTypeAnnotation(MemberScope<?, ?> member) {
return Optional.ofNullable(member.getAnnotationConsideringFieldAndGetter(Schema.class))
.filter(schema -> SchemaType.ARRAY.equals(schema.type()));
.filter(schema -> isArrayType(member, schema));
}

}

0 comments on commit c19718d

Please sign in to comment.