amplify-category-api
amplify-category-api copied to clipboard
Use AppSync JavaScript resolvers by default instead of VTL in Gen2
Describe the feature you'd like to request
I would like to request that, in Gen2, AppSync_JS Resolvers be used by default instead of VTL (Velocity Template Language). This change will provide more flexibility and ease of use when working with resolvers, as JavaScript offers a more modern and robust approach compared to VTL.
Describe the solution you'd like
- When creating new AppSync resolvers in Gen2, the default should be set to AppSync_JS Resolvers.
- Developers should be able to write resolver logic using JavaScript directly, instead of needing to rely on the VTL template language.
Describe alternatives you've considered
N/A
Additional context
No response
Is this something that you'd be interested in working on?
- [ ] 👋 I may be able to implement this feature request
Would this feature include a breaking change?
- [ ] ⚠️ This feature might incur a breaking change
+1
We have found ourselves rewriting some of the same logic in JS to make simple adjustments in order to avoid working with VTL. For us, working with VTL was tedious and difficult to test. Having code generated directly in JS would help us to extend the functionality and leverage more of what Amplify offers.