Closed mjendza closed 3 years ago
dynamodbDataSource.createResolver({ typeName: 'Query', fieldName: 'getById', requestMappingTemplate: MappingTemplate.dynamoDbGetItem('id', 'id'), responseMappingTemplate: MappingTemplate.dynamoDbResultItem(), }); dynamodbDataSource.createResolver({ typeName: 'Query', fieldName: 'list', requestMappingTemplate: MappingTemplate.dynamoDbScanTable(), responseMappingTemplate: MappingTemplate.dynamoDbResultList(), });
by ID works - with nice quick response
by ID works - with nice quick response