sid88in / serverless-appsync-plugin

serverless plugin for appsync
MIT License
951 stars 189 forks source link

Javascript resolvers supported now by AWS as Unit resolvers but not by the plugin #616

Closed andrea-oo closed 1 year ago

andrea-oo commented 1 year ago

Hey guys,

AWS now supports JS resolvers as UNIT resolvers however if i define them as kind: UNIT into the serverless config of your plugin it throws an error on deploy asking for the Mapping templates(related to VTL resolvers).

If i define them using the functions: sintax for pipeline resolvers then it works fine but as pipeline resolvers.

When are you gonna add the support for JS unit resolvers? if it is still supported what's the sintax to write them ?

Many thanks!

bboure commented 1 year ago

Hi @andrea-oo

There is a PR open for that #613 Please have a look

I'll try to release that asap

andrea-oo commented 1 year ago

that's great thank you !

zachrmh commented 1 year ago

Yes thank you! Much needed for our project, I'll be keeping an eye out for this in the next release 🙌 🙌 🙌

github-actions[bot] commented 1 year ago

:tada: This issue has been resolved in version 2.4.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket:

zachrmh commented 1 year ago

Awesome thank you 👏 👏