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
Fix backward scroll calculations for offset positions
1. Offset to be advanced back by 1 more than the count in order to
exclude the item at the specified offset.
2. Count to be adjusted down if offset is too low.
3. Count to be set to 0 if offset is 0.
See gh-840
Copy file name to clipboardExpand all lines: spring-graphql/src/main/java/org/springframework/graphql/data/method/annotation/support/ScrollSubrangeMethodArgumentResolver.java
+3-2
Original file line number
Diff line number
Diff line change
@@ -44,8 +44,9 @@ public boolean supportsParameter(MethodParameter parameter) {
Copy file name to clipboardExpand all lines: spring-graphql/src/main/java/org/springframework/graphql/data/method/annotation/support/SubrangeMethodArgumentResolver.java
+2-2
Original file line number
Diff line number
Diff line change
@@ -62,8 +62,8 @@ public Object resolveArgument(MethodParameter parameter, DataFetchingEnvironment
62
62
/**
63
63
* Allows subclasses to create an extension of {@link Subrange}.
Copy file name to clipboardExpand all lines: spring-graphql/src/test/java/org/springframework/graphql/data/query/jpa/QueryByExampleDataFetcherJpaTests.java
Copy file name to clipboardExpand all lines: spring-graphql/src/test/java/org/springframework/graphql/data/query/mongo/QueryByExampleDataFetcherMongoDbTests.java
Copy file name to clipboardExpand all lines: spring-graphql/src/test/java/org/springframework/graphql/data/query/mongo/QueryByExampleDataFetcherReactiveMongoDbTests.java
Copy file name to clipboardExpand all lines: spring-graphql/src/test/java/org/springframework/graphql/data/query/neo4j/QueryByExampleDataFetcherNeo4jTests.java
Copy file name to clipboardExpand all lines: spring-graphql/src/test/java/org/springframework/graphql/data/query/neo4j/QueryByExampleDataFetcherReactiveNeo4jDbTests.java
0 commit comments