Release Notes / Version 12.2412.0
Table Of ContentsFixed Regression in HeadlessServer: REST calls pass through error messages via JSLT transformed responses
Starting with 2404 (the introduction of Spring-GraphQL-Library), GraphQL responses of JSLT transformed persisted queries did not pass through potential GraphQL error messages.
This regression was fixed. In order not to break the current version,
the fix must be enabled by an additional compatibility flag
caas.rest.error-messages-over-jslt-enabled=true|false.
To stay non-breaking within versions 2406 and 2412, the flag defaults
to false!
If the flag is activated, all JSLT templates must be updated, as the JSON path of the response now includes the explicit “data” property again and the potential “errors” property of course. In effect this means, the former JSLT templates of version 2310-LTS and prior will work again.
(CMS-27699)
HeadlessServer now also supports type conversion of path segments used as GraphQL input variables
Previously, HeadlessServer converted HTTP request parameters into the necessary type for a GraphQL input variables only. With this fix type conversion is now also supported for path segments of the HTTP request path.
(CMS-27635)


