Hey Guys, Do we have a way to auto-generate VTL's when using AppSyncApi ? something like what aws-amplify does? Amplify is generating all default VTL's and basically overwrites the once that I modify.
f
Frank
02/22/2022, 3:19 AM
Hey @Mr.9715 there isn’t a way currently. Do you have a link to where Amplify talks about this? I’d love to check it out.
m
Mr.9715
02/22/2022, 4:57 AM
Sure @Frank, Here is the doc link
https://docs.amplify.aws/cli/graphql/custom-business-logic/#extend-amplify-generated-resolvers
I believe this could be a really good functionality to have. It supercharge the time it takes to model schema and the way they allow add custom logic using "slots" is amazing.
adding custom resolvers like "me" queries is still a issue there. I believe we should be able to get the best of both worlds! which is basically what SST ❤️ is all about!
Mr.9715
02/22/2022, 4:59 AM
amplify archive this using pipeline resolvers.
n
Nir Weiner
02/22/2022, 2:20 PM
Following.
I would love to have the VTL's generated as well