Springboot graphql controller with Webflux
I have a graphql controller in a reactive application using Webflux. The graphql controller is working fine, but I need to add standard cursor pagination as indicated here: https://graphql.org/learn/pagination/#slicing After reading spring graphql 1.2.6 documentation: https://docs.spring.io/spring-graphql/reference/controllers.html#controllers.schema-mapping.subrange I updated my springboot version to 3.2.4, and I worked my way through the necessary modifications. I modified my root query from: users(count: Int, offset: Int, companyId: ID): [User]! to: users(first:Int, after:String, last:Int,
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.