@aws-amplify/graphql-function-transformer
Advanced tools
Comparing version 3.1.1-gen2-migration-0930.0 to 3.1.1
@@ -6,3 +6,3 @@ # Change Log | ||
## [3.1.1-gen2-migration-0930.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-function-transformer@3.1.0...@aws-amplify/graphql-function-transformer@3.1.1-gen2-migration-0930.0) (2024-09-30) | ||
## [3.1.1](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-function-transformer@3.1.0...@aws-amplify/graphql-function-transformer@3.1.1) (2024-10-01) | ||
@@ -9,0 +9,0 @@ **Note:** Version bump only for package @aws-amplify/graphql-function-transformer |
@@ -86,3 +86,3 @@ "use strict"; | ||
const funcScope = context.stackManager.getScopeFor(functionId, FUNCTION_DIRECTIVE_STACK); | ||
func = context.api.host.addAppSyncFunction(functionId, graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString((0, graphql_mapping_template_1.printBlock)(`Invoke AWS Lambda data source: ${dataSourceId}`)((0, graphql_mapping_template_1.obj)({ | ||
func = context.api.host.addAppSyncVtlRuntimeFunction(functionId, graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString((0, graphql_mapping_template_1.printBlock)(`Invoke AWS Lambda data source: ${dataSourceId}`)((0, graphql_mapping_template_1.obj)({ | ||
version: (0, graphql_mapping_template_1.str)('2018-05-29'), | ||
@@ -125,3 +125,3 @@ operation: (0, graphql_mapping_template_1.str)('Invoke'), | ||
const resolverScope = context.stackManager.getScopeFor(resolverId, FUNCTION_DIRECTIVE_STACK); | ||
resolver = context.api.host.addResolver(config.resolverTypeName, config.resolverFieldName, graphql_transformer_core_1.MappingTemplate.inlineTemplateFromString((0, graphql_mapping_template_1.printBlock)('Stash resolver specific context.')((0, graphql_mapping_template_1.compoundExpression)(requestTemplate))), graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString('$util.toJson($ctx.prev.result)', `${config.resolverTypeName}.${config.resolverFieldName}.res.vtl`), resolverId, undefined, [], resolverScope); | ||
resolver = context.api.host.addVtlRuntimeResolver(config.resolverTypeName, config.resolverFieldName, graphql_transformer_core_1.MappingTemplate.inlineTemplateFromString((0, graphql_mapping_template_1.printBlock)('Stash resolver specific context.')((0, graphql_mapping_template_1.compoundExpression)(requestTemplate))), graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString('$util.toJson($ctx.prev.result)', `${config.resolverTypeName}.${config.resolverFieldName}.res.vtl`), resolverId, undefined, [], resolverScope); | ||
createdResources.set(resolverId, resolver); | ||
@@ -128,0 +128,0 @@ } |
{ | ||
"name": "@aws-amplify/graphql-function-transformer", | ||
"version": "3.1.1-gen2-migration-0930.0", | ||
"version": "3.1.1", | ||
"description": "Amplify GraphQL @function transformer", | ||
@@ -32,11 +32,11 @@ "repository": { | ||
"dependencies": { | ||
"@aws-amplify/graphql-directives": "2.3.0-gen2-migration-0930.0", | ||
"@aws-amplify/graphql-transformer-core": "3.2.0-gen2-migration-0930.0", | ||
"@aws-amplify/graphql-transformer-interfaces": "4.2.0-gen2-migration-0930.0", | ||
"@aws-amplify/graphql-directives": "2.2.0", | ||
"@aws-amplify/graphql-transformer-core": "3.1.2", | ||
"@aws-amplify/graphql-transformer-interfaces": "4.1.1", | ||
"graphql": "^15.5.0", | ||
"graphql-mapping-template": "5.0.2-gen2-migration-0930.0", | ||
"graphql-transformer-common": "5.1.0-gen2-migration-0930.0" | ||
"graphql-mapping-template": "5.0.1", | ||
"graphql-transformer-common": "5.0.1" | ||
}, | ||
"devDependencies": { | ||
"@aws-amplify/graphql-transformer-test-utils": "1.0.3-gen2-migration-0930.0" | ||
"@aws-amplify/graphql-transformer-test-utils": "1.0.3" | ||
}, | ||
@@ -87,3 +87,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "9747afc0099b5403bfde9d3489c34088eb76b02e" | ||
"gitHead": "1506c6b08974a6b4f517c144cf41dd866da90951" | ||
} |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
285
1
85923
+ Added@aws-amplify/graphql-directives@2.2.0(transitive)
+ Added@aws-amplify/graphql-transformer-core@3.1.2(transitive)
+ Added@aws-amplify/graphql-transformer-interfaces@4.1.1(transitive)
+ Addedgraphql-mapping-template@5.0.1(transitive)
+ Addedgraphql-transformer-common@5.0.1(transitive)
- Removed@aws-amplify/graphql-directives@2.3.0-gen2-migration-0930.0(transitive)
- Removed@aws-amplify/graphql-transformer-core@3.2.0-gen2-migration-0930.0(transitive)
- Removed@aws-amplify/graphql-transformer-interfaces@4.2.0-gen2-migration-0930.0(transitive)
- Removedgraphql-mapping-template@5.0.2-gen2-migration-0930.0(transitive)
- Removedgraphql-transformer-common@5.1.0-gen2-migration-0930.0(transitive)