Files
floci/src/main/java
TATSUNO “Taz” Yasuhiro 7654a7cbec fix(appsync): supply reflection config so VTL runs on native image (#4729)
* test(appsync): run a VTL resolver in the native compatibility suite

AppSyncTest created and updated resolvers but never queried one, so no native test evaluated a VTL template. The new test runs a query whose templates touch everything VTL reaches through reflection: the #return directive, $ctx and the JDK maps, lists and strings behind it, each $util helper, and $util.error.

* fix(appsync): register what VTL reaches through reflection in the native image

Velocity loads the #return directive by class name and calls every template method through reflection. None of it was registered, so in the native image every AppSync mapping template failed. Register the directive, the $util helpers, and the JDK maps, lists and strings that $ctx, literals and $util results are made of.
2026-09-30 21:44:51 -05:00
..