GraphQL Schema not found when project is a gradle multi module #1123
Labels
status: feedback-provided
Feedback has been provided
status: waiting-for-triage
An issue we've not yet triaged
Hi,
not sure really this is a spring problem or a Gradle/IDEA problem, but when you have a Gradle multi module project and one of the modules is your Spring GraphQL app, then loading a GraphQL schema from the resources classpath fails (
DefaultGraphQlSchemaCondition
can't find it).I created a minimal project to observe that here: https://github.com/andimarek/spring-graphql-multimodule-test
Just import in IDEA and run it. The result is that the GraphQL schema file
resources/graphql/schema.graphqls
is not found and hence so GraphQL setup/bootstrapping takes place.Cheers
The text was updated successfully, but these errors were encountered: