@@ -195,18 +195,15 @@ public static <T> ReactiveBuilder<T, T> builder(ReactiveQueryByExampleExecutor<T
195
195
196
196
/**
197
197
* Variation of {@link #autoRegistrationConfigurer(List, List, CursorStrategy, ScrollSubrange)}
198
- * that defaults to the following:
199
- * <ul>
200
- * <li>{@link ScrollPositionCursorStrategy} with Base64 encoding.
201
- * <li>{@link OffsetScrollPosition Offset}-based scrolling with 20 items at a time
202
- * </ul>
198
+ * without a {@code CursorStrategy} and default {@link ScrollSubrange}.
199
+ * For default values, see the respective methods on {@link Builder} and
200
+ * {@link ReactiveBuilder}.
203
201
*/
204
202
public static RuntimeWiringConfigurer autoRegistrationConfigurer (
205
203
List <QueryByExampleExecutor <?>> executors ,
206
204
List <ReactiveQueryByExampleExecutor <?>> reactiveExecutors ) {
207
205
208
- return autoRegistrationConfigurer (executors , reactiveExecutors ,
209
- RepositoryUtils .defaultCursorStrategy (), RepositoryUtils .defaultScrollSubrange ());
206
+ return autoRegistrationConfigurer (executors , reactiveExecutors , null , null );
210
207
}
211
208
212
209
/**
@@ -220,16 +217,18 @@ public static RuntimeWiringConfigurer autoRegistrationConfigurer(
220
217
*
221
218
* @param executors repositories to consider for registration
222
219
* @param reactiveExecutors reactive repositories to consider for registration
223
- * @param cursorStrategy for decoding cursors in pagination requests
224
- * @param defaultScrollSubrange default parameters for scrolling
220
+ * @param cursorStrategy for decoding cursors in pagination requests;
221
+ * if {@code null}, then {@link Builder#cursorStrategy} defaults apply.
222
+ * @param defaultScrollSubrange default parameters for scrolling;
223
+ * if {@code null}, then {@link Builder#defaultScrollSubrange} defaults apply.
225
224
* @return the created configurer
226
225
* @since 1.2
227
226
*/
228
227
public static RuntimeWiringConfigurer autoRegistrationConfigurer (
229
228
List <QueryByExampleExecutor <?>> executors ,
230
229
List <ReactiveQueryByExampleExecutor <?>> reactiveExecutors ,
231
- CursorStrategy <ScrollPosition > cursorStrategy ,
232
- ScrollSubrange defaultScrollSubrange ) {
230
+ @ Nullable CursorStrategy <ScrollPosition > cursorStrategy ,
231
+ @ Nullable ScrollSubrange defaultScrollSubrange ) {
233
232
234
233
Map <String , DataFetcherFactory > factories = new HashMap <>();
235
234
0 commit comments