Release Notes / Version 12.2412.0
Table Of ContentsBugfix HeadlessServer: Multiple inheritance for GraphQL types overwrites fetch expression by last type
HeadlessServer overwrote the fetch expression when a GraphQL type used the @inherit directive with two or more types, which also implemented GraphQL interfaces. The problem was fixed.
(CMS-27168)
Apollo Federation Support
HeadlessServer now comes with Apollo Federation Support for GraphQL.
To enable Federation Support, simply add the library
com.apollographql.federation:federation-graphql-java-support:5.0.0
to your maven dependencies with scope runtime
:
<dependency> <groupId>com.apollographql.federation</groupId> <artifactId>federation-graphql-java-support</artifactId> <scope>runtime</scope> </dependency>
During server start, the library will be detected and federation support will be enabled. The log will show an additional info level message, that federation support is active.
(CMS-27128)
Was this article useful?