From cf9cc9ef52ea929ee60841cf0374e4fe6cac4c71 Mon Sep 17 00:00:00 2001 From: zyro Date: Sat, 15 Jun 2024 10:33:37 +0200 Subject: [PATCH] repro sample for spring-projects/spring-data-commons#3108 --- src/main/java/com/example/demo/DemoApplication.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/example/demo/DemoApplication.java b/src/main/java/com/example/demo/DemoApplication.java index 64b538a..d5c6769 100644 --- a/src/main/java/com/example/demo/DemoApplication.java +++ b/src/main/java/com/example/demo/DemoApplication.java @@ -2,7 +2,9 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.data.web.config.EnableSpringDataWebSupport; +@EnableSpringDataWebSupport(pageSerializationMode = EnableSpringDataWebSupport.PageSerializationMode.VIA_DTO) @SpringBootApplication public class DemoApplication {