CoreMedia Content Cloud v12 Upgrade Guide / Version 2404
Table Of ContentsAdapt JSLT Transformation Templates
All JSLT transformation templates must be adapted. They do not work anymore on the data
property
but one level deeper. Effectively, this means, that in all JSLT templates all paths starting with .data
must be changed simply by removing ‘.data’ from the transformation path.
Due to the invocation within the GraphQL context of Spring GraphQL, the JSLT transformation changed its behavior slightly.
Formerly, the JSLT transformation worked on the complete JSON graph starting with the data
property
of any GraphQL response. Now, the JSLT transformation works directly on the GraphQL response, meaning one level deeper.
Therefore, the JSLT transformation templates had to be adapted to result in the same JSON response.