@GraphQLBatched
public List<String> a() {
return Arrays.asList("one", "two");
}
}
<BUG>@Test(expectedExceptions = IllegalArgumentException.class) @SneakyThrows
public void noStaticField() {</BUG>
GraphQLObjectType object = GraphQLAnnotations.object(NoStaticBatchedField.class);
}
private static class NoListBatchedField {

@GraphQLBatched
public List<String> a() {
return Arrays.asList("one", "two");
}
}
@Test(expectedExceptions = IllegalArgumentException.class)
public void noStaticField() {
GraphQLObjectType object = GraphQLAnnotations.object(NoStaticBatchedField.class);
}
private static class NoListBatchedField {
