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 718e6c2 commit 66cb37b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,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 66cb37b

Please sign in to comment.