Migrate defaultScrollSubrange(ScrollSubrange) to defaultScrollSubrange(int, Function)
ProprietaryThe defaultScrollSubrange(ScrollSubrange) methods on the QuerydslDataFetcher and QueryByExampleDataFetcher builders are deprecated for removal in favor of defaultScrollSubrange(int, Function<Boolean, ScrollPosition>). This recipe rewrites calls passing ScrollSubrange.create(position, count, forward) to defaultScrollSubrange(count, forward -> position), mirroring the deprecated method, which ignores the forward flag.
io. moderne. java. spring. graphql. MigrateDefaultScrollSubrangemod run . --recipe= io. moderne. java. spring. graphql. MigrateDefaultScrollSubrangeInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.