From c5878c382456635e8052fdc18fbd4ac821a9a816 Mon Sep 17 00:00:00 2001 From: Nils Hartmann Date: Tue, 17 Oct 2023 13:09:52 +0200 Subject: [PATCH] Fix typo --- .../org/springframework/graphql/data/pagination/Subrange.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-graphql/src/main/java/org/springframework/graphql/data/pagination/Subrange.java b/spring-graphql/src/main/java/org/springframework/graphql/data/pagination/Subrange.java index f8913815..abd98724 100644 --- a/spring-graphql/src/main/java/org/springframework/graphql/data/pagination/Subrange.java +++ b/spring-graphql/src/main/java/org/springframework/graphql/data/pagination/Subrange.java @@ -68,7 +68,7 @@ public class Subrange

{ /** * Whether the subrange is forward or backward from ths position, depending - * on whether the argument sent "fist" or "last". + * on whether the argument sent "first" or "last". *

Note: The direction may not always match the original * value. For backward pagination, for example, an offset cursor could be * adjusted down by the count of elements, switching backward to forward.