11.0.0
Breaking changes
Upgrade to graphql-java 16.1
Detailed release notes: https://github.com/graphql-java/graphql-java/releases/tag/v16.1.
Take special note of the fact that support for @defer
has been removed from graphql-java. See the graphql-java release notes of 16.1 and 16.0 for more details.
Require GraphQLContext to at least return an empty DataLoaderRegistry
GraphQLContext.getDataLoaderRegistry()
returned an Optional
instead of just the DataLoaderRegistry
. From now on we're treating it the same way as a collection in which case you also wouldn't return null or wrapped in an Optional. Instead you would just return an empty collection. Analogous we require an empty DataLoaderRegistry to be returned as a minimum. This benefits users of the registry.