Frank
sst.AppSync
construct, and I’m curious if ppl have a lot of resolvers and if there’s an easier way to define them, ie. something like the Api routes make sense?
resolvers: {
'query listNotes' : 'src/listNotes.main',
'query getNote' : 'src/getNote.main',
'mutation addNote': 'src/addNote.main',
}
p0wl
03/23/2021, 8:10 AMbaseDS.createResolver({
typeName: 'Query',
fieldName: 'account',
requestMappingTemplate: appsync.MappingTemplate.lambdaRequest(),
responseMappingTemplate: appsync.MappingTemplate.lambdaResult(),
});
We had a bunch of VTL dynamodb resolvers, but we are migrating to RDS (postgres) and we are not using VTL with these anymore.p0wl
03/23/2021, 8:11 AMMike McCall
03/23/2021, 1:24 PMMAURICIO VALDIVIA MONZON
03/23/2021, 1:37 PMdeini
03/23/2021, 2:45 PM