@aws-amplify/graphql-relational-transformer
Advanced tools
Comparing version 0.4.0-graphql-vnext-dev-preview.7 to 0.4.0-graphql-vnext-dev-preview.8
@@ -6,3 +6,3 @@ # Change Log | ||
# [0.4.0-graphql-vnext-dev-preview.7](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-relational-transformer@0.3.1...@aws-amplify/graphql-relational-transformer@0.4.0-graphql-vnext-dev-preview.7) (2021-11-07) | ||
# [0.4.0-graphql-vnext-dev-preview.8](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-relational-transformer@0.3.1...@aws-amplify/graphql-relational-transformer@0.4.0-graphql-vnext-dev-preview.8) (2021-11-11) | ||
@@ -16,6 +16,7 @@ | ||
* **graphql-model-transformer:** override resource logical id to fix v1 to v2 transformer migration ([#8597](https://github.com/aws-amplify/amplify-cli/issues/8597)) ([e3a2afb](https://github.com/aws-amplify/amplify-cli/commit/e3a2afbbed6e97f143fc7c83064e2193f4c91bdd)) | ||
* **graphql-model-transformer:** subscription resolver logical id fix ([#8712](https://github.com/aws-amplify/amplify-cli/issues/8712)) ([a380e12](https://github.com/aws-amplify/amplify-cli/commit/a380e12f674fec7cda616bdae54b49a153bbecf2)) | ||
* **graphql-relational-schema-transformer:** has-many transformer update filter/condition inputs ([#8565](https://github.com/aws-amplify/amplify-cli/issues/8565)) ([9f5570b](https://github.com/aws-amplify/amplify-cli/commit/9f5570b6095ba57f2f3e514279a2f13f041e2b38)) | ||
* **graphql-relational-transformer:** fix belongs to e2e test ([#8738](https://github.com/aws-amplify/amplify-cli/issues/8738)) ([233ed56](https://github.com/aws-amplify/amplify-cli/commit/233ed56d2fc74020321816c53555cb04b23b9d6a)) | ||
* **graphql-relational-transformer:** fix has many without fields ([#8700](https://github.com/aws-amplify/amplify-cli/issues/8700)) ([cc21d4d](https://github.com/aws-amplify/amplify-cli/commit/cc21d4dcf827a9ef27a89dffe828f3726a03ecea)) | ||
* **graphql-relational-transformer:** fixed has one and belongs to relationship ([#8679](https://github.com/aws-amplify/amplify-cli/issues/8679)) ([8a390fb](https://github.com/aws-amplify/amplify-cli/commit/8a390fba8a34002abb94d28702db2dde088811d9)) | ||
* reintroduce connection stack in transformer v2 ([#8757](https://github.com/aws-amplify/amplify-cli/issues/8757)) ([7daf599](https://github.com/aws-amplify/amplify-cli/commit/7daf599aa0fe00cdbe4a8bfad7e9adda7962fb63)) | ||
* reuse foreign key field in `[@belongs](https://github.com/belongs)To` transformer ([#8557](https://github.com/aws-amplify/amplify-cli/issues/8557)) ([39fbe6f](https://github.com/aws-amplify/amplify-cli/commit/39fbe6f61687a0ffbaff5914069f64a69c23e0d6)) | ||
@@ -34,3 +35,3 @@ * use output when looking up relational related type index ([#8657](https://github.com/aws-amplify/amplify-cli/issues/8657)) ([1f5dd5c](https://github.com/aws-amplify/amplify-cli/commit/1f5dd5ce2eeb3b91a13c7e2bd9e3ffbfcab0c3fe)) | ||
# [0.4.0-graphql-vnext-dev-preview.6](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-relational-transformer@0.3.1...@aws-amplify/graphql-relational-transformer@0.4.0-graphql-vnext-dev-preview.6) (2021-11-07) | ||
# [0.4.0-graphql-vnext-dev-preview.7](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-relational-transformer@0.3.1...@aws-amplify/graphql-relational-transformer@0.4.0-graphql-vnext-dev-preview.7) (2021-11-11) | ||
@@ -44,6 +45,7 @@ | ||
* **graphql-model-transformer:** override resource logical id to fix v1 to v2 transformer migration ([#8597](https://github.com/aws-amplify/amplify-cli/issues/8597)) ([e3a2afb](https://github.com/aws-amplify/amplify-cli/commit/e3a2afbbed6e97f143fc7c83064e2193f4c91bdd)) | ||
* **graphql-model-transformer:** subscription resolver logical id fix ([#8712](https://github.com/aws-amplify/amplify-cli/issues/8712)) ([4d0c7d5](https://github.com/aws-amplify/amplify-cli/commit/4d0c7d5b9b9c42749858c75f1265a75efad473e4)) | ||
* **graphql-relational-schema-transformer:** has-many transformer update filter/condition inputs ([#8565](https://github.com/aws-amplify/amplify-cli/issues/8565)) ([9f5570b](https://github.com/aws-amplify/amplify-cli/commit/9f5570b6095ba57f2f3e514279a2f13f041e2b38)) | ||
* **graphql-relational-transformer:** fix belongs to e2e test ([#8738](https://github.com/aws-amplify/amplify-cli/issues/8738)) ([233ed56](https://github.com/aws-amplify/amplify-cli/commit/233ed56d2fc74020321816c53555cb04b23b9d6a)) | ||
* **graphql-relational-transformer:** fix has many without fields ([#8700](https://github.com/aws-amplify/amplify-cli/issues/8700)) ([cc21d4d](https://github.com/aws-amplify/amplify-cli/commit/cc21d4dcf827a9ef27a89dffe828f3726a03ecea)) | ||
* **graphql-relational-transformer:** fixed has one and belongs to relationship ([#8679](https://github.com/aws-amplify/amplify-cli/issues/8679)) ([8a390fb](https://github.com/aws-amplify/amplify-cli/commit/8a390fba8a34002abb94d28702db2dde088811d9)) | ||
* reintroduce connection stack in transformer v2 ([#8757](https://github.com/aws-amplify/amplify-cli/issues/8757)) ([7daf599](https://github.com/aws-amplify/amplify-cli/commit/7daf599aa0fe00cdbe4a8bfad7e9adda7962fb63)) | ||
* reuse foreign key field in `[@belongs](https://github.com/belongs)To` transformer ([#8557](https://github.com/aws-amplify/amplify-cli/issues/8557)) ([39fbe6f](https://github.com/aws-amplify/amplify-cli/commit/39fbe6f61687a0ffbaff5914069f64a69c23e0d6)) | ||
@@ -62,3 +64,3 @@ * use output when looking up relational related type index ([#8657](https://github.com/aws-amplify/amplify-cli/issues/8657)) ([1f5dd5c](https://github.com/aws-amplify/amplify-cli/commit/1f5dd5ce2eeb3b91a13c7e2bd9e3ffbfcab0c3fe)) | ||
# [0.4.0-graphql-vnext-dev-preview.5](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-relational-transformer@0.3.1...@aws-amplify/graphql-relational-transformer@0.4.0-graphql-vnext-dev-preview.5) (2021-11-07) | ||
# [0.4.0-graphql-vnext-dev-preview.6](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-relational-transformer@0.3.1...@aws-amplify/graphql-relational-transformer@0.4.0-graphql-vnext-dev-preview.6) (2021-11-11) | ||
@@ -72,6 +74,7 @@ | ||
* **graphql-model-transformer:** override resource logical id to fix v1 to v2 transformer migration ([#8597](https://github.com/aws-amplify/amplify-cli/issues/8597)) ([e3a2afb](https://github.com/aws-amplify/amplify-cli/commit/e3a2afbbed6e97f143fc7c83064e2193f4c91bdd)) | ||
* **graphql-model-transformer:** subscription resolver logical id fix ([#8712](https://github.com/aws-amplify/amplify-cli/issues/8712)) ([4dcdc95](https://github.com/aws-amplify/amplify-cli/commit/4dcdc9524bb46bda5cdcfc0e835d43c64dc216a6)) | ||
* **graphql-relational-schema-transformer:** has-many transformer update filter/condition inputs ([#8565](https://github.com/aws-amplify/amplify-cli/issues/8565)) ([9f5570b](https://github.com/aws-amplify/amplify-cli/commit/9f5570b6095ba57f2f3e514279a2f13f041e2b38)) | ||
* **graphql-relational-transformer:** fix belongs to e2e test ([#8738](https://github.com/aws-amplify/amplify-cli/issues/8738)) ([233ed56](https://github.com/aws-amplify/amplify-cli/commit/233ed56d2fc74020321816c53555cb04b23b9d6a)) | ||
* **graphql-relational-transformer:** fix has many without fields ([#8700](https://github.com/aws-amplify/amplify-cli/issues/8700)) ([cc21d4d](https://github.com/aws-amplify/amplify-cli/commit/cc21d4dcf827a9ef27a89dffe828f3726a03ecea)) | ||
* **graphql-relational-transformer:** fixed has one and belongs to relationship ([#8679](https://github.com/aws-amplify/amplify-cli/issues/8679)) ([8a390fb](https://github.com/aws-amplify/amplify-cli/commit/8a390fba8a34002abb94d28702db2dde088811d9)) | ||
* reintroduce connection stack in transformer v2 ([#8757](https://github.com/aws-amplify/amplify-cli/issues/8757)) ([7daf599](https://github.com/aws-amplify/amplify-cli/commit/7daf599aa0fe00cdbe4a8bfad7e9adda7962fb63)) | ||
* reuse foreign key field in `[@belongs](https://github.com/belongs)To` transformer ([#8557](https://github.com/aws-amplify/amplify-cli/issues/8557)) ([39fbe6f](https://github.com/aws-amplify/amplify-cli/commit/39fbe6f61687a0ffbaff5914069f64a69c23e0d6)) | ||
@@ -90,3 +93,3 @@ * use output when looking up relational related type index ([#8657](https://github.com/aws-amplify/amplify-cli/issues/8657)) ([1f5dd5c](https://github.com/aws-amplify/amplify-cli/commit/1f5dd5ce2eeb3b91a13c7e2bd9e3ffbfcab0c3fe)) | ||
# [0.4.0-graphql-vnext-dev-preview.4](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-relational-transformer@0.3.1...@aws-amplify/graphql-relational-transformer@0.4.0-graphql-vnext-dev-preview.4) (2021-11-07) | ||
# [0.4.0-graphql-vnext-dev-preview.5](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-relational-transformer@0.3.1...@aws-amplify/graphql-relational-transformer@0.4.0-graphql-vnext-dev-preview.5) (2021-11-11) | ||
@@ -100,6 +103,7 @@ | ||
* **graphql-model-transformer:** override resource logical id to fix v1 to v2 transformer migration ([#8597](https://github.com/aws-amplify/amplify-cli/issues/8597)) ([e3a2afb](https://github.com/aws-amplify/amplify-cli/commit/e3a2afbbed6e97f143fc7c83064e2193f4c91bdd)) | ||
* **graphql-model-transformer:** subscription resolver logical id fix ([#8712](https://github.com/aws-amplify/amplify-cli/issues/8712)) ([ff7c202](https://github.com/aws-amplify/amplify-cli/commit/ff7c202252983938c3a32c31fc4b3bd09a73734e)) | ||
* **graphql-relational-schema-transformer:** has-many transformer update filter/condition inputs ([#8565](https://github.com/aws-amplify/amplify-cli/issues/8565)) ([9f5570b](https://github.com/aws-amplify/amplify-cli/commit/9f5570b6095ba57f2f3e514279a2f13f041e2b38)) | ||
* **graphql-relational-transformer:** fix belongs to e2e test ([#8738](https://github.com/aws-amplify/amplify-cli/issues/8738)) ([233ed56](https://github.com/aws-amplify/amplify-cli/commit/233ed56d2fc74020321816c53555cb04b23b9d6a)) | ||
* **graphql-relational-transformer:** fix has many without fields ([#8700](https://github.com/aws-amplify/amplify-cli/issues/8700)) ([cc21d4d](https://github.com/aws-amplify/amplify-cli/commit/cc21d4dcf827a9ef27a89dffe828f3726a03ecea)) | ||
* **graphql-relational-transformer:** fixed has one and belongs to relationship ([#8679](https://github.com/aws-amplify/amplify-cli/issues/8679)) ([8a390fb](https://github.com/aws-amplify/amplify-cli/commit/8a390fba8a34002abb94d28702db2dde088811d9)) | ||
* reintroduce connection stack in transformer v2 ([#8757](https://github.com/aws-amplify/amplify-cli/issues/8757)) ([7daf599](https://github.com/aws-amplify/amplify-cli/commit/7daf599aa0fe00cdbe4a8bfad7e9adda7962fb63)) | ||
* reuse foreign key field in `[@belongs](https://github.com/belongs)To` transformer ([#8557](https://github.com/aws-amplify/amplify-cli/issues/8557)) ([39fbe6f](https://github.com/aws-amplify/amplify-cli/commit/39fbe6f61687a0ffbaff5914069f64a69c23e0d6)) | ||
@@ -118,3 +122,3 @@ * use output when looking up relational related type index ([#8657](https://github.com/aws-amplify/amplify-cli/issues/8657)) ([1f5dd5c](https://github.com/aws-amplify/amplify-cli/commit/1f5dd5ce2eeb3b91a13c7e2bd9e3ffbfcab0c3fe)) | ||
# [0.4.0-graphql-vnext-dev-preview.3](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-relational-transformer@0.3.1...@aws-amplify/graphql-relational-transformer@0.4.0-graphql-vnext-dev-preview.3) (2021-11-07) | ||
# [0.4.0-graphql-vnext-dev-preview.4](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-relational-transformer@0.3.1...@aws-amplify/graphql-relational-transformer@0.4.0-graphql-vnext-dev-preview.4) (2021-11-11) | ||
@@ -128,6 +132,7 @@ | ||
* **graphql-model-transformer:** override resource logical id to fix v1 to v2 transformer migration ([#8597](https://github.com/aws-amplify/amplify-cli/issues/8597)) ([e3a2afb](https://github.com/aws-amplify/amplify-cli/commit/e3a2afbbed6e97f143fc7c83064e2193f4c91bdd)) | ||
* **graphql-model-transformer:** subscription resolver logical id fix ([#8712](https://github.com/aws-amplify/amplify-cli/issues/8712)) ([249a0a7](https://github.com/aws-amplify/amplify-cli/commit/249a0a75b0e918f49c1059274d9252a430ce34c6)) | ||
* **graphql-relational-schema-transformer:** has-many transformer update filter/condition inputs ([#8565](https://github.com/aws-amplify/amplify-cli/issues/8565)) ([9f5570b](https://github.com/aws-amplify/amplify-cli/commit/9f5570b6095ba57f2f3e514279a2f13f041e2b38)) | ||
* **graphql-relational-transformer:** fix belongs to e2e test ([#8738](https://github.com/aws-amplify/amplify-cli/issues/8738)) ([233ed56](https://github.com/aws-amplify/amplify-cli/commit/233ed56d2fc74020321816c53555cb04b23b9d6a)) | ||
* **graphql-relational-transformer:** fix has many without fields ([#8700](https://github.com/aws-amplify/amplify-cli/issues/8700)) ([cc21d4d](https://github.com/aws-amplify/amplify-cli/commit/cc21d4dcf827a9ef27a89dffe828f3726a03ecea)) | ||
* **graphql-relational-transformer:** fixed has one and belongs to relationship ([#8679](https://github.com/aws-amplify/amplify-cli/issues/8679)) ([8a390fb](https://github.com/aws-amplify/amplify-cli/commit/8a390fba8a34002abb94d28702db2dde088811d9)) | ||
* reintroduce connection stack in transformer v2 ([#8757](https://github.com/aws-amplify/amplify-cli/issues/8757)) ([7daf599](https://github.com/aws-amplify/amplify-cli/commit/7daf599aa0fe00cdbe4a8bfad7e9adda7962fb63)) | ||
* reuse foreign key field in `[@belongs](https://github.com/belongs)To` transformer ([#8557](https://github.com/aws-amplify/amplify-cli/issues/8557)) ([39fbe6f](https://github.com/aws-amplify/amplify-cli/commit/39fbe6f61687a0ffbaff5914069f64a69c23e0d6)) | ||
@@ -146,3 +151,3 @@ * use output when looking up relational related type index ([#8657](https://github.com/aws-amplify/amplify-cli/issues/8657)) ([1f5dd5c](https://github.com/aws-amplify/amplify-cli/commit/1f5dd5ce2eeb3b91a13c7e2bd9e3ffbfcab0c3fe)) | ||
# [0.4.0-graphql-vnext-dev-preview.2](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-relational-transformer@0.3.1...@aws-amplify/graphql-relational-transformer@0.4.0-graphql-vnext-dev-preview.2) (2021-11-07) | ||
# [0.4.0-graphql-vnext-dev-preview.3](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-relational-transformer@0.3.1...@aws-amplify/graphql-relational-transformer@0.4.0-graphql-vnext-dev-preview.3) (2021-11-11) | ||
@@ -156,6 +161,7 @@ | ||
* **graphql-model-transformer:** override resource logical id to fix v1 to v2 transformer migration ([#8597](https://github.com/aws-amplify/amplify-cli/issues/8597)) ([e3a2afb](https://github.com/aws-amplify/amplify-cli/commit/e3a2afbbed6e97f143fc7c83064e2193f4c91bdd)) | ||
* **graphql-model-transformer:** subscription resolver logical id fix ([#8712](https://github.com/aws-amplify/amplify-cli/issues/8712)) ([3641fe3](https://github.com/aws-amplify/amplify-cli/commit/3641fe344396206fbc829b17916cc71df02347ce)) | ||
* **graphql-relational-schema-transformer:** has-many transformer update filter/condition inputs ([#8565](https://github.com/aws-amplify/amplify-cli/issues/8565)) ([9f5570b](https://github.com/aws-amplify/amplify-cli/commit/9f5570b6095ba57f2f3e514279a2f13f041e2b38)) | ||
* **graphql-relational-transformer:** fix belongs to e2e test ([#8738](https://github.com/aws-amplify/amplify-cli/issues/8738)) ([233ed56](https://github.com/aws-amplify/amplify-cli/commit/233ed56d2fc74020321816c53555cb04b23b9d6a)) | ||
* **graphql-relational-transformer:** fix has many without fields ([#8700](https://github.com/aws-amplify/amplify-cli/issues/8700)) ([cc21d4d](https://github.com/aws-amplify/amplify-cli/commit/cc21d4dcf827a9ef27a89dffe828f3726a03ecea)) | ||
* **graphql-relational-transformer:** fixed has one and belongs to relationship ([#8679](https://github.com/aws-amplify/amplify-cli/issues/8679)) ([8a390fb](https://github.com/aws-amplify/amplify-cli/commit/8a390fba8a34002abb94d28702db2dde088811d9)) | ||
* reintroduce connection stack in transformer v2 ([#8757](https://github.com/aws-amplify/amplify-cli/issues/8757)) ([7daf599](https://github.com/aws-amplify/amplify-cli/commit/7daf599aa0fe00cdbe4a8bfad7e9adda7962fb63)) | ||
* reuse foreign key field in `[@belongs](https://github.com/belongs)To` transformer ([#8557](https://github.com/aws-amplify/amplify-cli/issues/8557)) ([39fbe6f](https://github.com/aws-amplify/amplify-cli/commit/39fbe6f61687a0ffbaff5914069f64a69c23e0d6)) | ||
@@ -174,3 +180,3 @@ * use output when looking up relational related type index ([#8657](https://github.com/aws-amplify/amplify-cli/issues/8657)) ([1f5dd5c](https://github.com/aws-amplify/amplify-cli/commit/1f5dd5ce2eeb3b91a13c7e2bd9e3ffbfcab0c3fe)) | ||
# [0.4.0-graphql-vnext-dev-preview.1](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-relational-transformer@0.3.1...@aws-amplify/graphql-relational-transformer@0.4.0-graphql-vnext-dev-preview.1) (2021-11-07) | ||
# [0.4.0-graphql-vnext-dev-preview.2](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-relational-transformer@0.3.1...@aws-amplify/graphql-relational-transformer@0.4.0-graphql-vnext-dev-preview.2) (2021-11-11) | ||
@@ -184,6 +190,7 @@ | ||
* **graphql-model-transformer:** override resource logical id to fix v1 to v2 transformer migration ([#8597](https://github.com/aws-amplify/amplify-cli/issues/8597)) ([e3a2afb](https://github.com/aws-amplify/amplify-cli/commit/e3a2afbbed6e97f143fc7c83064e2193f4c91bdd)) | ||
* **graphql-model-transformer:** subscription resolver logical id fix ([#8712](https://github.com/aws-amplify/amplify-cli/issues/8712)) ([0e1a014](https://github.com/aws-amplify/amplify-cli/commit/0e1a014286c466cb858be6f8be1fdf1778abd4af)) | ||
* **graphql-relational-schema-transformer:** has-many transformer update filter/condition inputs ([#8565](https://github.com/aws-amplify/amplify-cli/issues/8565)) ([9f5570b](https://github.com/aws-amplify/amplify-cli/commit/9f5570b6095ba57f2f3e514279a2f13f041e2b38)) | ||
* **graphql-relational-transformer:** fix belongs to e2e test ([#8738](https://github.com/aws-amplify/amplify-cli/issues/8738)) ([233ed56](https://github.com/aws-amplify/amplify-cli/commit/233ed56d2fc74020321816c53555cb04b23b9d6a)) | ||
* **graphql-relational-transformer:** fix has many without fields ([#8700](https://github.com/aws-amplify/amplify-cli/issues/8700)) ([cc21d4d](https://github.com/aws-amplify/amplify-cli/commit/cc21d4dcf827a9ef27a89dffe828f3726a03ecea)) | ||
* **graphql-relational-transformer:** fixed has one and belongs to relationship ([#8679](https://github.com/aws-amplify/amplify-cli/issues/8679)) ([8a390fb](https://github.com/aws-amplify/amplify-cli/commit/8a390fba8a34002abb94d28702db2dde088811d9)) | ||
* reintroduce connection stack in transformer v2 ([#8757](https://github.com/aws-amplify/amplify-cli/issues/8757)) ([7daf599](https://github.com/aws-amplify/amplify-cli/commit/7daf599aa0fe00cdbe4a8bfad7e9adda7962fb63)) | ||
* reuse foreign key field in `[@belongs](https://github.com/belongs)To` transformer ([#8557](https://github.com/aws-amplify/amplify-cli/issues/8557)) ([39fbe6f](https://github.com/aws-amplify/amplify-cli/commit/39fbe6f61687a0ffbaff5914069f64a69c23e0d6)) | ||
@@ -202,3 +209,3 @@ * use output when looking up relational related type index ([#8657](https://github.com/aws-amplify/amplify-cli/issues/8657)) ([1f5dd5c](https://github.com/aws-amplify/amplify-cli/commit/1f5dd5ce2eeb3b91a13c7e2bd9e3ffbfcab0c3fe)) | ||
# [0.4.0-graphql-vnext-dev-preview.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-relational-transformer@0.3.1...@aws-amplify/graphql-relational-transformer@0.4.0-graphql-vnext-dev-preview.0) (2021-11-07) | ||
# [0.4.0-graphql-vnext-dev-preview.1](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-relational-transformer@0.3.1...@aws-amplify/graphql-relational-transformer@0.4.0-graphql-vnext-dev-preview.1) (2021-11-11) | ||
@@ -213,4 +220,6 @@ | ||
* **graphql-relational-schema-transformer:** has-many transformer update filter/condition inputs ([#8565](https://github.com/aws-amplify/amplify-cli/issues/8565)) ([9f5570b](https://github.com/aws-amplify/amplify-cli/commit/9f5570b6095ba57f2f3e514279a2f13f041e2b38)) | ||
* **graphql-relational-transformer:** fix belongs to e2e test ([#8738](https://github.com/aws-amplify/amplify-cli/issues/8738)) ([233ed56](https://github.com/aws-amplify/amplify-cli/commit/233ed56d2fc74020321816c53555cb04b23b9d6a)) | ||
* **graphql-relational-transformer:** fix has many without fields ([#8700](https://github.com/aws-amplify/amplify-cli/issues/8700)) ([cc21d4d](https://github.com/aws-amplify/amplify-cli/commit/cc21d4dcf827a9ef27a89dffe828f3726a03ecea)) | ||
* **graphql-relational-transformer:** fixed has one and belongs to relationship ([#8679](https://github.com/aws-amplify/amplify-cli/issues/8679)) ([8a390fb](https://github.com/aws-amplify/amplify-cli/commit/8a390fba8a34002abb94d28702db2dde088811d9)) | ||
* reintroduce connection stack in transformer v2 ([#8757](https://github.com/aws-amplify/amplify-cli/issues/8757)) ([7daf599](https://github.com/aws-amplify/amplify-cli/commit/7daf599aa0fe00cdbe4a8bfad7e9adda7962fb63)) | ||
* reuse foreign key field in `[@belongs](https://github.com/belongs)To` transformer ([#8557](https://github.com/aws-amplify/amplify-cli/issues/8557)) ([39fbe6f](https://github.com/aws-amplify/amplify-cli/commit/39fbe6f61687a0ffbaff5914069f64a69c23e0d6)) | ||
@@ -229,2 +238,29 @@ * use output when looking up relational related type index ([#8657](https://github.com/aws-amplify/amplify-cli/issues/8657)) ([1f5dd5c](https://github.com/aws-amplify/amplify-cli/commit/1f5dd5ce2eeb3b91a13c7e2bd9e3ffbfcab0c3fe)) | ||
# [0.4.0-graphql-vnext-dev-preview.0](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-relational-transformer@0.3.1...@aws-amplify/graphql-relational-transformer@0.4.0-graphql-vnext-dev-preview.0) (2021-11-11) | ||
### Bug Fixes | ||
* [@auth](https://github.com/auth) fix relational auth, authv2 e2e with utils and fixes ([#8450](https://github.com/aws-amplify/amplify-cli/issues/8450)) ([aa320cd](https://github.com/aws-amplify/amplify-cli/commit/aa320cd2414665a484438f0764cf68fd78caa26a)) | ||
* add [@manytomany](https://github.com/manytomany) join table auth ([#8460](https://github.com/aws-amplify/amplify-cli/issues/8460)) ([424bbda](https://github.com/aws-amplify/amplify-cli/commit/424bbda410fbab100d475d37fa9ab291bfd05317)) | ||
* allow duplicate auth rules when creating the join type ([#8680](https://github.com/aws-amplify/amplify-cli/issues/8680)) ([1a0636d](https://github.com/aws-amplify/amplify-cli/commit/1a0636d72d010b9d0ed18d511f853bcbffa9d421)) | ||
* **graphql-model-transformer:** override resource logical id to fix v1 to v2 transformer migration ([#8597](https://github.com/aws-amplify/amplify-cli/issues/8597)) ([e3a2afb](https://github.com/aws-amplify/amplify-cli/commit/e3a2afbbed6e97f143fc7c83064e2193f4c91bdd)) | ||
* **graphql-relational-schema-transformer:** has-many transformer update filter/condition inputs ([#8565](https://github.com/aws-amplify/amplify-cli/issues/8565)) ([9f5570b](https://github.com/aws-amplify/amplify-cli/commit/9f5570b6095ba57f2f3e514279a2f13f041e2b38)) | ||
* **graphql-relational-transformer:** fix belongs to e2e test ([#8738](https://github.com/aws-amplify/amplify-cli/issues/8738)) ([233ed56](https://github.com/aws-amplify/amplify-cli/commit/233ed56d2fc74020321816c53555cb04b23b9d6a)) | ||
* **graphql-relational-transformer:** fix has many without fields ([#8700](https://github.com/aws-amplify/amplify-cli/issues/8700)) ([cc21d4d](https://github.com/aws-amplify/amplify-cli/commit/cc21d4dcf827a9ef27a89dffe828f3726a03ecea)) | ||
* **graphql-relational-transformer:** fixed has one and belongs to relationship ([#8679](https://github.com/aws-amplify/amplify-cli/issues/8679)) ([8a390fb](https://github.com/aws-amplify/amplify-cli/commit/8a390fba8a34002abb94d28702db2dde088811d9)) | ||
* reintroduce connection stack in transformer v2 ([#8757](https://github.com/aws-amplify/amplify-cli/issues/8757)) ([7daf599](https://github.com/aws-amplify/amplify-cli/commit/7daf599aa0fe00cdbe4a8bfad7e9adda7962fb63)) | ||
* reuse foreign key field in `[@belongs](https://github.com/belongs)To` transformer ([#8557](https://github.com/aws-amplify/amplify-cli/issues/8557)) ([39fbe6f](https://github.com/aws-amplify/amplify-cli/commit/39fbe6f61687a0ffbaff5914069f64a69c23e0d6)) | ||
* use output when looking up relational related type index ([#8657](https://github.com/aws-amplify/amplify-cli/issues/8657)) ([1f5dd5c](https://github.com/aws-amplify/amplify-cli/commit/1f5dd5ce2eeb3b91a13c7e2bd9e3ffbfcab0c3fe)) | ||
### Features | ||
* add admin roles which have admin control over a graphql api ([#8601](https://github.com/aws-amplify/amplify-cli/issues/8601)) ([4d50df0](https://github.com/aws-amplify/amplify-cli/commit/4d50df000c6e11165d2da766c0eaa0097d88a0c2)) | ||
* generate list types as non-null ([#8166](https://github.com/aws-amplify/amplify-cli/issues/8166)) ([93786c1](https://github.com/aws-amplify/amplify-cli/commit/93786c13ef04c72748ca32a1ef7878c0e6b5b129)) | ||
## [0.3.1](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-relational-transformer@0.3.0...@aws-amplify/graphql-relational-transformer@0.3.1) (2021-10-10) | ||
@@ -231,0 +267,0 @@ |
@@ -32,2 +32,3 @@ "use strict"; | ||
const utils_1 = require("./utils"); | ||
const CONNECTION_STACK = 'ConnectionStack'; | ||
const authFilter = graphql_mapping_template_1.ref('ctx.stash.authFilter'); | ||
@@ -79,3 +80,3 @@ function makeGetItemConnectionWithKeyResolver(config, ctx) { | ||
])))), `${object.name.value}.${field.name.value}.res.vtl`)); | ||
resolver.mapToStack(table.stack); | ||
resolver.mapToStack(getConnectionStack(ctx)); | ||
ctx.resolvers.addResolver(object.name.value, field.name.value, resolver); | ||
@@ -131,3 +132,3 @@ } | ||
])), `${object.name.value}.${field.name.value}.req.vtl`), graphql_transformer_core_1.MappingTemplate.s3MappingTemplateFromString(graphql_mapping_template_1.print(graphql_mapping_template_1.DynamoDBMappingTemplate.dynamoDBResponse(false, graphql_mapping_template_1.compoundExpression([graphql_mapping_template_1.iff(graphql_mapping_template_1.raw('!$result'), graphql_mapping_template_1.set(graphql_mapping_template_1.ref('result'), graphql_mapping_template_1.ref('ctx.result'))), graphql_mapping_template_1.raw('$util.toJson($result)')]))), `${object.name.value}.${field.name.value}.res.vtl`)); | ||
resolver.mapToStack(table.stack); | ||
resolver.mapToStack(getConnectionStack(ctx)); | ||
ctx.resolvers.addResolver(object.name.value, field.name.value, resolver); | ||
@@ -225,2 +226,8 @@ } | ||
} | ||
function getConnectionStack(ctx) { | ||
if (ctx.stackManager.hasStack(CONNECTION_STACK)) { | ||
return ctx.stackManager.getStack(CONNECTION_STACK); | ||
} | ||
return ctx.stackManager.createStack(CONNECTION_STACK); | ||
} | ||
//# sourceMappingURL=resolvers.js.map |
@@ -106,4 +106,9 @@ "use strict"; | ||
function ensureBelongsToConnectionField(config, ctx) { | ||
const { relatedType, relatedField } = config; | ||
config.connectionFields.push(utils_1.getConnectionAttributeName(relatedType.name.value, relatedField.name.value)); | ||
const { relationType, relatedType, relatedField } = config; | ||
if (relationType === 'hasOne') { | ||
ensureHasOneConnectionField(config, ctx, utils_1.getConnectionAttributeName(relatedType.name.value, relatedField.name.value)); | ||
} | ||
else { | ||
config.connectionFields.push(utils_1.getConnectionAttributeName(relatedType.name.value, relatedField.name.value)); | ||
} | ||
} | ||
@@ -110,0 +115,0 @@ exports.ensureBelongsToConnectionField = ensureBelongsToConnectionField; |
{ | ||
"name": "@aws-amplify/graphql-relational-transformer", | ||
"version": "0.4.0-graphql-vnext-dev-preview.7", | ||
"version": "0.4.0-graphql-vnext-dev-preview.8", | ||
"description": "Amplify GraphQL relational modeling transformers", | ||
@@ -30,7 +30,7 @@ "repository": { | ||
"dependencies": { | ||
"@aws-amplify/graphql-auth-transformer": "0.2.0-graphql-vnext-dev-preview.7", | ||
"@aws-amplify/graphql-index-transformer": "0.5.0-graphql-vnext-dev-preview.7", | ||
"@aws-amplify/graphql-model-transformer": "0.7.0-graphql-vnext-dev-preview.7", | ||
"@aws-amplify/graphql-transformer-core": "0.10.0-graphql-vnext-dev-preview.7", | ||
"@aws-amplify/graphql-transformer-interfaces": "1.10.1-graphql-vnext-dev-preview.7", | ||
"@aws-amplify/graphql-auth-transformer": "0.2.0-graphql-vnext-dev-preview.8", | ||
"@aws-amplify/graphql-index-transformer": "0.5.0-graphql-vnext-dev-preview.8", | ||
"@aws-amplify/graphql-model-transformer": "0.7.0-graphql-vnext-dev-preview.8", | ||
"@aws-amplify/graphql-transformer-core": "0.10.0-graphql-vnext-dev-preview.8", | ||
"@aws-amplify/graphql-transformer-interfaces": "1.10.1-graphql-vnext-dev-preview.8", | ||
"@aws-cdk/aws-appsync": "~1.124.0", | ||
@@ -40,4 +40,4 @@ "@aws-cdk/aws-dynamodb": "~1.124.0", | ||
"graphql": "^14.5.8", | ||
"graphql-mapping-template": "4.18.4-graphql-vnext-dev-preview.7", | ||
"graphql-transformer-common": "4.20.0-graphql-vnext-dev-preview.7" | ||
"graphql-mapping-template": "4.18.4-graphql-vnext-dev-preview.8", | ||
"graphql-transformer-common": "4.20.0-graphql-vnext-dev-preview.8" | ||
}, | ||
@@ -62,3 +62,3 @@ "devDependencies": { | ||
}, | ||
"gitHead": "fa8f4074de64bd30b206c413454441be47f76565" | ||
"gitHead": "ac682892c75dac4a1b17e13aeb872fe80dd95a79" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
168094
1183
+ Added@aws-amplify/graphql-auth-transformer@0.2.0-graphql-vnext-dev-preview.8(transitive)
+ Added@aws-amplify/graphql-index-transformer@0.5.0-graphql-vnext-dev-preview.8(transitive)
+ Added@aws-amplify/graphql-model-transformer@0.7.0-graphql-vnext-dev-preview.8(transitive)
+ Added@aws-amplify/graphql-transformer-core@0.10.0-graphql-vnext-dev-preview.8(transitive)
+ Added@aws-amplify/graphql-transformer-interfaces@1.10.1-graphql-vnext-dev-preview.8(transitive)
+ Addedgraphql-mapping-template@4.18.4-graphql-vnext-dev-preview.8(transitive)
+ Addedgraphql-transformer-common@4.20.0-graphql-vnext-dev-preview.8(transitive)
- Removed@aws-amplify/graphql-auth-transformer@0.2.0-graphql-vnext-dev-preview.7(transitive)
- Removed@aws-amplify/graphql-index-transformer@0.5.0-graphql-vnext-dev-preview.7(transitive)
- Removed@aws-amplify/graphql-model-transformer@0.7.0-graphql-vnext-dev-preview.7(transitive)
- Removed@aws-amplify/graphql-transformer-core@0.10.0-graphql-vnext-dev-preview.7(transitive)
- Removed@aws-amplify/graphql-transformer-interfaces@1.10.1-graphql-vnext-dev-preview.7(transitive)
- Removedgraphql-mapping-template@4.18.4-graphql-vnext-dev-preview.7(transitive)
- Removedgraphql-transformer-common@4.20.0-graphql-vnext-dev-preview.7(transitive)
Updated@aws-amplify/graphql-auth-transformer@0.2.0-graphql-vnext-dev-preview.8
Updated@aws-amplify/graphql-index-transformer@0.5.0-graphql-vnext-dev-preview.8
Updated@aws-amplify/graphql-model-transformer@0.7.0-graphql-vnext-dev-preview.8
Updated@aws-amplify/graphql-transformer-core@0.10.0-graphql-vnext-dev-preview.8
Updated@aws-amplify/graphql-transformer-interfaces@1.10.1-graphql-vnext-dev-preview.8
Updatedgraphql-mapping-template@4.18.4-graphql-vnext-dev-preview.8
Updatedgraphql-transformer-common@4.20.0-graphql-vnext-dev-preview.8