Pre-process GraphQL schema resources at build time #29291
Labels
for: external-project
For an external project and not something we can fix
status: superseded
An issue that has been superseded by another
theme: aot
An issue related to Ahead-of-time processing
type: enhancement
A general enhancement
As seen in spring-projects/spring-graphql#218 (comment), using our Spring GraphQL auto-configuration with the experimental Spring Native project is causing issues.
The Spring Boot auto-configuration for Spring GraphQL is scanning classpath locations for files using the
PathMatchingResourcePatternResolver
. This approach is not compatible for now with GraalVM (see spring-projects/spring-graphql#230 (comment)).When a Spring Framework abstraction allows it, we should pre-process this at build time using the upcoming AOT engine and programmatically configure those resources on the GraphQL source builder directly.
The text was updated successfully, but these errors were encountered: