From ce20e1ed204b0ca5aac0780ad915411ff82be0c8 Mon Sep 17 00:00:00 2001 From: mspiess <30656914+mspiess@users.noreply.github.com> Date: Wed, 14 Jan 2026 21:45:19 +0100 Subject: [PATCH] Move schema.graphqls into test module Spring Projects that have the `spring.graphql.schema.locations` property set to `"classpath*:graphql/**/"` as suggested in the documentation have failing GraphQL tests after upgrading to Spring Boot 4. The `Query` type definition in the books-domain schema clashes with the schema of the application. Presumably the books-domain schema was never meant to exist in the exported JAR file. This commit moves it into the test module to stop it from being exported and causing problems. Signed-off-by: mspiess <30656914+mspiess@users.noreply.github.com> See gh-48829 --- .../src/{main => test}/resources/graphql/schema.graphqls | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename module/spring-boot-graphql-test/src/{main => test}/resources/graphql/schema.graphqls (100%) diff --git a/module/spring-boot-graphql-test/src/main/resources/graphql/schema.graphqls b/module/spring-boot-graphql-test/src/test/resources/graphql/schema.graphqls similarity index 100% rename from module/spring-boot-graphql-test/src/main/resources/graphql/schema.graphqls rename to module/spring-boot-graphql-test/src/test/resources/graphql/schema.graphqls