Servlet endpoint for GraphQL Java
Full Changelog: https://github.com/graphql-java-kickstart/graphql-java-servlet/compare/v15.0.0...v15.2.0extension
Updated the source and target versions of Java to v17.
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.
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.