Skip to content

Commit c3a7e00

Browse files
committed
default is empty array of possible types
EDIT: on second thought, it is not a good idea
1 parent 35fa07c commit c3a7e00

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/graphql/annotations/annotationTypes/GraphQLUnion.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
@Target(ElementType.TYPE)
2626
@Retention(RetentionPolicy.RUNTIME)
2727
public @interface GraphQLUnion {
28-
Class<?>[] possibleTypes() default {};
28+
Class<?>[] possibleTypes();
2929

3030
Class<? extends TypeResolver> typeResolver() default UnionTypeResolver.class;
3131
}

0 commit comments

Comments
 (0)