Release Notes / Version 12.2406.1
Table Of ContentsUpdate to latest minor version of Spring-GraphQL and GraphiQL 5.0
Due to an update in the publishing policy of GraphiQL, spring-graphql library could not deliver graphiql correctly. This was fixed by updating Spring-GraphlQL to the corresponding latest minor version:
CMS 2506.0: Spring-GraphQL V 1.4.1 delivering GraphiQL 5.0.0 esm.sh (was 4.0.0 via esm.sh) CMS 2412.0: Spring-GraphQL V 1.3.6 delivering GraphiQL 5.0.0 via esm.sh (was via unpkg.com) CMS 2406.2: Spring-GraphQL V 1.4.1 delivering GraphiQL 5.0.0 via esm.sh (was 4.0.0 via esm.sh) CMS 2416.1: Spring-GraphQL V 1.3.6 delivering GraphiQL 5.0.0 via esm.sh (was via unpkg.com)
(CMS-28156)
Fixed Regression: Non-trivial server context path for REST request was ignored
A non-trivial server context path, e.g. ‘/customContextPrefix’ was not working anymore with REST requests. That regression was now fixed.
(CMS-27931)
Exception handling by DataFetcherExceptionResolverAdapter
To resolve exceptions to GraphQL errors, a
DataFetcherExceptionResolverAdapter has been added
which resolves implementations of RuntimeException
to ErrorType.DataFetchingError. Specific exceptions
and corresponding ErrorTypes can be configured via
configuration property caas.exceptionErrorMap.
Exceptions are resolved via configuration for the most specific super
class.
(CMS-27811)


