You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-graphql/src/main/java/org/springframework/graphql/data/query/AutoRegistrationRuntimeWiringConfigurer.java
+23-10Lines changed: 23 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
/*
2
-
* Copyright 2002-2022 the original author or authors.
2
+
* Copyright 2002-2023 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
@@ -24,6 +24,7 @@
24
24
importgraphql.schema.GraphQLList;
25
25
importgraphql.schema.GraphQLNamedOutputType;
26
26
importgraphql.schema.GraphQLNonNull;
27
+
importgraphql.schema.GraphQLObjectType;
27
28
importgraphql.schema.GraphQLType;
28
29
importgraphql.schema.idl.FieldWiringEnvironment;
29
30
importgraphql.schema.idl.RuntimeWiring;
@@ -76,15 +77,20 @@ public void configure(RuntimeWiring.Builder builder, List<WiringFactory> contain
76
77
interfaceDataFetcherFactory {
77
78
78
79
/**
79
-
* Create a singe item {@code DataFetcher}.
80
+
* Create {@code DataFetcher} for a singe item.
80
81
*/
81
82
DataFetcher<?> single();
82
83
83
84
/**
84
-
* Create {@code DataFetcher} for multiple items.
85
+
* Create {@code DataFetcher} for many items.
85
86
*/
86
87
DataFetcher<?> many();
87
88
89
+
/**
90
+
* Create {@code DataFetcher} for scrolling.
91
+
*/
92
+
DataFetcher<?> scrollable();
93
+
88
94
}
89
95
90
96
@@ -127,6 +133,11 @@ public boolean providesDataFetcher(FieldWiringEnvironment environment) {
0 commit comments