@aws-amplify/graphql-function-transformer
Advanced tools
Comparing version 0.4.3 to 0.4.4-auth-dir-v-next.0
@@ -6,2 +6,10 @@ # Change Log | ||
## [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) | ||
@@ -8,0 +16,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.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.toJson(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.3", | ||
"version": "0.4.4-auth-dir-v-next.0", | ||
"description": "Amplify GraphQL @function transformer", | ||
@@ -30,9 +30,9 @@ "repository": { | ||
"dependencies": { | ||
"@aws-amplify/graphql-transformer-core": "0.9.0", | ||
"@aws-amplify/graphql-transformer-interfaces": "1.9.0", | ||
"@aws-amplify/graphql-transformer-core": "0.10.0-auth-dir-v-next.0", | ||
"@aws-amplify/graphql-transformer-interfaces": "1.10.0-auth-dir-v-next.0", | ||
"@aws-cdk/aws-lambda": "~1.119.0", | ||
"@aws-cdk/core": "~1.119.0", | ||
"graphql": "^14.5.8", | ||
"graphql-mapping-template": "4.18.3", | ||
"graphql-transformer-common": "4.19.9" | ||
"graphql-mapping-template": "4.19.0-auth-dir-v-next.0", | ||
"graphql-transformer-common": "4.19.10-auth-dir-v-next.0" | ||
}, | ||
@@ -57,3 +57,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "8738095619ba2bc2f01d381d816fc0f65bb3f88f" | ||
"gitHead": "31371e987e129894a3bdc0c2cc66c3980b2bde81" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32381
135
+ Added@aws-amplify/graphql-transformer-core@0.10.0-auth-dir-v-next.0(transitive)
+ Added@aws-amplify/graphql-transformer-interfaces@1.10.0-auth-dir-v-next.0(transitive)
+ Addedgraphql-mapping-template@4.19.0-auth-dir-v-next.0(transitive)
+ Addedgraphql-transformer-common@4.19.10-auth-dir-v-next.0(transitive)
- Removed@aws-amplify/graphql-transformer-core@0.9.0(transitive)
- Removed@aws-amplify/graphql-transformer-interfaces@1.9.0(transitive)
- Removedgraphql-mapping-template@4.18.3(transitive)
- Removedgraphql-transformer-common@4.19.9(transitive)
Updated@aws-amplify/graphql-transformer-core@0.10.0-auth-dir-v-next.0
Updated@aws-amplify/graphql-transformer-interfaces@1.10.0-auth-dir-v-next.0