@aws-amplify/graphql-function-transformer
Advanced tools
Comparing version 0.4.4-auth-dir-v-next.3 to 0.4.4-headless-s3-not-for-production.0
@@ -6,3 +6,3 @@ # Change Log | ||
## [0.4.4-auth-dir-v-next.3](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-function-transformer@0.4.4-auth-dir-v-next.2...@aws-amplify/graphql-function-transformer@0.4.4-auth-dir-v-next.3) (2021-09-15) | ||
## [0.4.4-headless-s3-not-for-production.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-function-transformer@0.4.3...@aws-amplify/graphql-function-transformer@0.4.4-headless-s3-not-for-production.0) (2021-09-22) | ||
@@ -15,26 +15,2 @@ **Note:** Version bump only for package @aws-amplify/graphql-function-transformer | ||
## [0.4.4-auth-dir-v-next.2](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-function-transformer@0.4.4-auth-dir-v-next.1...@aws-amplify/graphql-function-transformer@0.4.4-auth-dir-v-next.2) (2021-09-15) | ||
**Note:** Version bump only for package @aws-amplify/graphql-function-transformer | ||
## [0.4.4-auth-dir-v-next.1](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-function-transformer@0.4.3...@aws-amplify/graphql-function-transformer@0.4.4-auth-dir-v-next.1) (2021-09-14) | ||
**Note:** Version bump only for package @aws-amplify/graphql-function-transformer | ||
## [0.4.4-auth-dir-v-next.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-function-transformer@0.4.3...@aws-amplify/graphql-function-transformer@0.4.4-auth-dir-v-next.0) (2021-09-14) | ||
**Note:** Version bump only for package @aws-amplify/graphql-function-transformer | ||
## [0.4.3](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-function-transformer@0.4.2...@aws-amplify/graphql-function-transformer@0.4.3) (2021-09-02) | ||
@@ -41,0 +17,0 @@ |
@@ -73,3 +73,3 @@ "use strict"; | ||
if (func === undefined) { | ||
func = context.api.host.addAppSyncFunction(functionId, graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(graphql_mapping_template_1.printBlock(`Invoke AWS Lambda data source: ${dataSourceId}`)(graphql_mapping_template_1.toJson(graphql_mapping_template_1.obj({ | ||
func = context.api.host.addAppSyncFunction(functionId, graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(graphql_mapping_template_1.printBlock(`Invoke AWS Lambda data source: ${dataSourceId}`)(graphql_mapping_template_1.obj({ | ||
version: graphql_mapping_template_1.str('2018-05-29'), | ||
@@ -86,3 +86,3 @@ operation: graphql_mapping_template_1.str('Invoke'), | ||
}), | ||
}))), `${functionId}.req.vtl`), graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(graphql_mapping_template_1.printBlock('Handle error or return result')(graphql_mapping_template_1.compoundExpression([ | ||
})), `${functionId}.req.vtl`), graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(graphql_mapping_template_1.printBlock('Handle error or return result')(graphql_mapping_template_1.compoundExpression([ | ||
graphql_mapping_template_1.iff(graphql_mapping_template_1.ref('ctx.error'), graphql_mapping_template_1.raw('$util.error($ctx.error.message, $ctx.error.type)')), | ||
@@ -89,0 +89,0 @@ graphql_mapping_template_1.raw('$util.toJson($ctx.result)'), |
{ | ||
"name": "@aws-amplify/graphql-function-transformer", | ||
"version": "0.4.4-auth-dir-v-next.3", | ||
"version": "0.4.4-headless-s3-not-for-production.0", | ||
"description": "Amplify GraphQL @function transformer", | ||
@@ -30,9 +30,9 @@ "repository": { | ||
"dependencies": { | ||
"@aws-amplify/graphql-transformer-core": "0.10.0-auth-dir-v-next.3", | ||
"@aws-amplify/graphql-transformer-interfaces": "1.10.0-auth-dir-v-next.1", | ||
"@aws-amplify/graphql-transformer-core": "0.9.1-headless-s3-not-for-production.0", | ||
"@aws-amplify/graphql-transformer-interfaces": "1.9.1-headless-s3-not-for-production.0", | ||
"@aws-cdk/aws-lambda": "~1.119.0", | ||
"@aws-cdk/core": "~1.119.0", | ||
"graphql": "^14.5.8", | ||
"graphql-mapping-template": "4.19.0-auth-dir-v-next.1", | ||
"graphql-transformer-common": "4.19.10-auth-dir-v-next.1" | ||
"graphql-mapping-template": "4.18.3", | ||
"graphql-transformer-common": "4.19.9" | ||
}, | ||
@@ -57,3 +57,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "65a1f1d2801a1afe7690859aa4b16057a4b6db69" | ||
"gitHead": "633fe35382bff0520a342b58bef3647ab07ee8f2" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
32366
134
+ Added@aws-amplify/graphql-transformer-core@0.9.1-headless-s3-not-for-production.0(transitive)
+ Added@aws-amplify/graphql-transformer-interfaces@1.9.1-headless-s3-not-for-production.0(transitive)
+ Addedgraphql-mapping-template@4.18.3(transitive)
+ Addedgraphql-transformer-common@4.19.9(transitive)
- Removed@aws-amplify/graphql-transformer-core@0.10.0-auth-dir-v-next.3(transitive)
- Removed@aws-amplify/graphql-transformer-interfaces@1.10.0-auth-dir-v-next.1(transitive)
- Removedgraphql-mapping-template@4.19.0-auth-dir-v-next.1(transitive)
- Removedgraphql-transformer-common@4.19.10-auth-dir-v-next.1(transitive)
Updated@aws-amplify/graphql-transformer-core@0.9.1-headless-s3-not-for-production.0
Updated@aws-amplify/graphql-transformer-interfaces@1.9.1-headless-s3-not-for-production.0