Skip to content

use new Spring Boot auto-configuration #1609

Closed
@snv

Description

@snv

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.

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 a META-INF/spring/org.springframework.boot.autoconfigure.AutoConfiguration.imports in my own application.

Metadata

Metadata

Assignees

No one assigned

    Labels

    changes: majorChanges require a major versionmodule: serverIssue affects the server code

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions