@aws-amplify/graphql-relational-transformer
Advanced tools
Comparing version 2.5.11 to 2.5.12-raven.0
@@ -6,2 +6,6 @@ # Change Log | ||
## [2.5.12-raven.0](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-relational-transformer@2.5.11...@aws-amplify/graphql-relational-transformer@2.5.12-raven.0) (2024-08-15) | ||
**Note:** Version bump only for package @aws-amplify/graphql-relational-transformer | ||
## [2.5.11](https://github.com/aws-amplify/amplify-category-api/compare/@aws-amplify/graphql-relational-transformer@2.5.10...@aws-amplify/graphql-relational-transformer@2.5.11) (2024-08-12) | ||
@@ -8,0 +12,0 @@ |
@@ -258,3 +258,9 @@ "use strict"; | ||
if (!relatedType) { | ||
throw new Error(`Could not find related type with name ${relatedTypeName} while processing relationships.`); | ||
const outputRelatedType = ctx.output.getObject(relatedTypeName); | ||
if (outputRelatedType) { | ||
return outputRelatedType; | ||
} | ||
else { | ||
throw new Error(`Could not find related type with name ${relatedTypeName} while processing relationships.`); | ||
} | ||
} | ||
@@ -261,0 +267,0 @@ return relatedType; |
{ | ||
"name": "@aws-amplify/graphql-relational-transformer", | ||
"version": "2.5.11", | ||
"version": "2.5.12-raven.0", | ||
"description": "Amplify GraphQL relational modeling transformers", | ||
@@ -31,7 +31,7 @@ "repository": { | ||
"dependencies": { | ||
"@aws-amplify/graphql-directives": "1.1.0", | ||
"@aws-amplify/graphql-index-transformer": "2.4.9", | ||
"@aws-amplify/graphql-model-transformer": "2.11.4", | ||
"@aws-amplify/graphql-transformer-core": "2.9.3", | ||
"@aws-amplify/graphql-transformer-interfaces": "3.10.1", | ||
"@aws-amplify/graphql-directives": "1.1.1-raven.0", | ||
"@aws-amplify/graphql-index-transformer": "2.4.10-raven.0", | ||
"@aws-amplify/graphql-model-transformer": "2.11.5-raven.0", | ||
"@aws-amplify/graphql-transformer-core": "2.9.4-raven.0", | ||
"@aws-amplify/graphql-transformer-interfaces": "3.10.2-raven.0", | ||
"graphql": "^15.5.0", | ||
@@ -43,3 +43,3 @@ "graphql-mapping-template": "4.20.16", | ||
"devDependencies": { | ||
"@aws-amplify/graphql-transformer-test-utils": "0.5.6" | ||
"@aws-amplify/graphql-transformer-test-utils": "0.5.7-raven.0" | ||
}, | ||
@@ -84,3 +84,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "bfb8b859a0daa8dc89cf5994d254af10a5c2e1d2" | ||
"gitHead": "9da7fb8edb329a8ae01f234150dfc0bc7e07788f" | ||
} |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
498064
3314
2
+ Added@aws-amplify/graphql-directives@1.1.1-raven.0(transitive)
+ Added@aws-amplify/graphql-index-transformer@2.4.10-raven.0(transitive)
+ Added@aws-amplify/graphql-model-transformer@2.11.5-raven.0(transitive)
+ Added@aws-amplify/graphql-transformer-core@2.9.4-raven.0(transitive)
+ Added@aws-amplify/graphql-transformer-interfaces@3.10.2-raven.0(transitive)
- Removed@aws-amplify/graphql-directives@1.1.0(transitive)
- Removed@aws-amplify/graphql-index-transformer@2.4.9(transitive)
- Removed@aws-amplify/graphql-model-transformer@2.11.4(transitive)
- Removed@aws-amplify/graphql-transformer-core@2.9.3(transitive)
- Removed@aws-amplify/graphql-transformer-interfaces@3.10.1(transitive)
Updated@aws-amplify/graphql-index-transformer@2.4.10-raven.0
Updated@aws-amplify/graphql-model-transformer@2.11.5-raven.0
Updated@aws-amplify/graphql-transformer-interfaces@3.10.2-raven.0