You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Library Version
com.expediagroup:graphql-kotlin-spring-server:7.0.0-alpha.0
Describe the bug
When switchen to Spring Boot 3 com.expediagroup.graphql.server.spring.GraphQLAutoConfiguration does not get executed, because the old way of registering them via spring.factories has been removed.
The new way needs a META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports-File.
As a workaround i can get my project to work, by registering com.expediagroup.graphql.server.spring.GraphQLAutoConfiguration myself with a META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports in my own application.
The text was updated successfully, but these errors were encountered:
As a workaround i can get my project to work, by registering com.expediagroup.graphql.server.spring.GraphQLAutoConfiguration myself with a META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports in my own application.
Alternatively, add @ImportAutoConfiguration on your Spring application class to import it manually.
### 📝 Description
SpringBoot v3 requires Java 17. This PR updates target bytecode of ALL `graphql-kotlin` modules to Java 17 and as a result ibrary users will have to use Java 17+ as well.
### 🔗 Related Issues
* Resolves#1609
Library Version
com.expediagroup:graphql-kotlin-spring-server:7.0.0-alpha.0
Describe the bug
When switchen to Spring Boot 3
com.expediagroup.graphql.server.spring.GraphQLAutoConfiguration
does not get executed, because the old way of registering them viaspring.factories
has been removed.The new way needs a
META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
-File.Additional Info
Details about the introduction of the new mechanism, and the deactivation of the old one.
As a workaround i can get my project to work, by registering
com.expediagroup.graphql.server.spring.GraphQLAutoConfiguration
myself with aMETA-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports
in my own application.The text was updated successfully, but these errors were encountered: