mirror of
https://github.com/floci-io/floci.git
synced 2026-11-27 07:39:24 -05:00
* 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.