@aws-amplify/graphql-index-transformer 0.11.6-alpha.26 → 0.12.0-category-split-test.3
Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md
CHANGED
@@ -3,6 +3,71 @@
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
5
5
|
|
6
|
+
# [0.12.0-category-split-test.3](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-index-transformer@0.12.0-category-split-test.2...@aws-amplify/graphql-index-transformer@0.12.0-category-split-test.3) (2022-04-25)
|
7
|
+
|
8
|
+
**Note:** Version bump only for package @aws-amplify/graphql-index-transformer
|
9
|
+
|
10
|
+
|
11
|
+
|
12
|
+
|
13
|
+
|
14
|
+
# [0.12.0-category-split-test.2](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-index-transformer@0.12.0-category-split-test.1...@aws-amplify/graphql-index-transformer@0.12.0-category-split-test.2) (2022-04-22)
|
15
|
+
|
16
|
+
**Note:** Version bump only for package @aws-amplify/graphql-index-transformer
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
|
22
|
+
# [0.12.0-category-split-test.1](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-index-transformer@0.12.0-category-split-test.0...@aws-amplify/graphql-index-transformer@0.12.0-category-split-test.1) (2022-04-22)
|
23
|
+
|
24
|
+
**Note:** Version bump only for package @aws-amplify/graphql-index-transformer
|
25
|
+
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
|
30
|
+
# 0.12.0-category-split-test.0 (2022-04-22)
|
31
|
+
|
32
|
+
|
33
|
+
### Bug Fixes
|
34
|
+
|
35
|
+
* [@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))
|
36
|
+
* add model transformer v2 e2e tests ([#7946](https://github.com/aws-amplify/amplify-cli/issues/7946)) ([351a8bc](https://github.com/aws-amplify/amplify-cli/commit/351a8bce6069398535878fd62886e0ee5c402329))
|
37
|
+
* append apiKey if global auth is enabled and its not default auth ([#8843](https://github.com/aws-amplify/amplify-cli/issues/8843)) ([3aadcde](https://github.com/aws-amplify/amplify-cli/commit/3aadcde2225f0ede5c5d94c2a4cd9d1afece5288))
|
38
|
+
* disallow lists in [@primary](https://github.com/primary)Key and [@index](https://github.com/index) fields ([#9749](https://github.com/aws-amplify/amplify-cli/issues/9749)) ([44df217](https://github.com/aws-amplify/amplify-cli/commit/44df21756f5892b174dcdac116e7576005a42ad5))
|
39
|
+
* generate list types will nullable elements ([#9310](https://github.com/aws-amplify/amplify-cli/issues/9310)) ([e972956](https://github.com/aws-amplify/amplify-cli/commit/e9729565fef2ac7df51f7fc7f345da536f385ac1))
|
40
|
+
* **graphql-auth-transformer:** fix relational map key schema lookup when using LSI ([#9722](https://github.com/aws-amplify/amplify-cli/issues/9722)) ([1794cda](https://github.com/aws-amplify/amplify-cli/commit/1794cda7658d9d7596b372c2a78b3f753d7d6aaf))
|
41
|
+
* **graphql-model-transformer:** fix create mutation when index field is null ([#10073](https://github.com/aws-amplify/amplify-cli/issues/10073)) ([1e9d140](https://github.com/aws-amplify/amplify-cli/commit/1e9d140a529e5a2474968feb26b53ac7c9bb5750))
|
42
|
+
* **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))
|
43
|
+
* **graphql:** avoid duplicate function when overriding resolvers ([#9980](https://github.com/aws-amplify/amplify-cli/issues/9980)) ([94398f8](https://github.com/aws-amplify/amplify-cli/commit/94398f88eca979a2e0806954e12272e126966a51))
|
44
|
+
* **graphql:** avoid static datastructures in gql transform ([#10006](https://github.com/aws-amplify/amplify-cli/issues/10006)) ([cd73fdd](https://github.com/aws-amplify/amplify-cli/commit/cd73fdde69f1545683e81684c4f9267145b845c6))
|
45
|
+
* **graphql:** correct typo filterExpression on v2 resolvers ([#9412](https://github.com/aws-amplify/amplify-cli/issues/9412)) ([71bf468](https://github.com/aws-amplify/amplify-cli/commit/71bf4688952a5f43640297bf31ea9c59d1c679c9))
|
46
|
+
* **graphql:** make hash key as non null type for index transformer ([#9411](https://github.com/aws-amplify/amplify-cli/issues/9411)) ([e0f7de6](https://github.com/aws-amplify/amplify-cli/commit/e0f7de6bdba1ddc484de341e903bc56460bbb442))
|
47
|
+
* include default values in index arg validation ([#9759](https://github.com/aws-amplify/amplify-cli/issues/9759)) ([e135e42](https://github.com/aws-amplify/amplify-cli/commit/e135e42ece439dd9925edd8488dbc6a129d92aa8))
|
48
|
+
* loosen [@index](https://github.com/index) validation ([#8445](https://github.com/aws-amplify/amplify-cli/issues/8445)) ([c73db78](https://github.com/aws-amplify/amplify-cli/commit/c73db786ce962cf3d976866b3a0996bfbda255fa))
|
49
|
+
* misc [@model](https://github.com/model) v2 VTL cleanup ([#7856](https://github.com/aws-amplify/amplify-cli/issues/7856)) ([98d81d8](https://github.com/aws-amplify/amplify-cli/commit/98d81d8e2e13fc1525389ba21e6ad4b372e671fb))
|
50
|
+
* model transformer support condition ([#7935](https://github.com/aws-amplify/amplify-cli/issues/7935)) ([fc93dba](https://github.com/aws-amplify/amplify-cli/commit/fc93dbabb38427607ef6abb6f1d7fb2f357a284b))
|
51
|
+
* prevent @index/[@primary](https://github.com/primary)Key from referencing itself ([#8561](https://github.com/aws-amplify/amplify-cli/issues/8561)) ([fc5a134](https://github.com/aws-amplify/amplify-cli/commit/fc5a1344d48cbfa0e7a2f5301c5acec2dde6c5e0))
|
52
|
+
* require [@primary](https://github.com/primary)Key sort fields to be non-nullable ([#8562](https://github.com/aws-amplify/amplify-cli/issues/8562)) ([bf4fb0e](https://github.com/aws-amplify/amplify-cli/commit/bf4fb0e0efc8b760e5b32663f13ffe1e33780812))
|
53
|
+
* update [@primary](https://github.com/primary)Key get/list queries for lowercase models ([#9409](https://github.com/aws-amplify/amplify-cli/issues/9409)) ([9c718ae](https://github.com/aws-amplify/amplify-cli/commit/9c718ae82548b795ced2b51ebb689f4cb6b300e7))
|
54
|
+
* use improved pluralization in graphql transformer v2 ([#7817](https://github.com/aws-amplify/amplify-cli/issues/7817)) ([38e2599](https://github.com/aws-amplify/amplify-cli/commit/38e25996ee00479031c88714af3b9d40ef9e079c))
|
55
|
+
|
56
|
+
|
57
|
+
### Features
|
58
|
+
|
59
|
+
* `[@maps](https://github.com/maps)To` directive to enable renaming models while retaining data ([#9340](https://github.com/aws-amplify/amplify-cli/issues/9340)) ([aedf45d](https://github.com/aws-amplify/amplify-cli/commit/aedf45d9237812d71bb8b56164efe0222ad3d534))
|
60
|
+
* add [@index](https://github.com/index) directive ([#7887](https://github.com/aws-amplify/amplify-cli/issues/7887)) ([e011555](https://github.com/aws-amplify/amplify-cli/commit/e0115557aad893b3286226e92ce8fecbd5636c1a))
|
61
|
+
* add [@primary](https://github.com/primary)Key directive to Transformer v2 ([#7797](https://github.com/aws-amplify/amplify-cli/issues/7797)) ([c11b7dd](https://github.com/aws-amplify/amplify-cli/commit/c11b7dd33152eced2ba23089ef08f5696c73b5f2))
|
62
|
+
* 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))
|
63
|
+
* **graphql-model-transformer:** index/primarykey datastore selective sync capability ([#8240](https://github.com/aws-amplify/amplify-cli/issues/8240)) ([e108783](https://github.com/aws-amplify/amplify-cli/commit/e10878370a4785a412b561002d78b5cec9859346))
|
64
|
+
* model transformer advanced subscriptions ([#7927](https://github.com/aws-amplify/amplify-cli/issues/7927)) ([1725630](https://github.com/aws-amplify/amplify-cli/commit/1725630c61c40923e8dfa3c697ea5472df2e5de1))
|
65
|
+
* override support for api category ([#9013](https://github.com/aws-amplify/amplify-cli/issues/9013)) ([ae7b001](https://github.com/aws-amplify/amplify-cli/commit/ae7b001f274f327a29c99c67fe851272c6208e84)), closes [#9001](https://github.com/aws-amplify/amplify-cli/issues/9001) [#8954](https://github.com/aws-amplify/amplify-cli/issues/8954) [#8958](https://github.com/aws-amplify/amplify-cli/issues/8958) [#8960](https://github.com/aws-amplify/amplify-cli/issues/8960) [#8967](https://github.com/aws-amplify/amplify-cli/issues/8967) [#8971](https://github.com/aws-amplify/amplify-cli/issues/8971) [#8976](https://github.com/aws-amplify/amplify-cli/issues/8976) [#8975](https://github.com/aws-amplify/amplify-cli/issues/8975) [#8981](https://github.com/aws-amplify/amplify-cli/issues/8981) [#8983](https://github.com/aws-amplify/amplify-cli/issues/8983) [#8992](https://github.com/aws-amplify/amplify-cli/issues/8992) [#9000](https://github.com/aws-amplify/amplify-cli/issues/9000) [#9002](https://github.com/aws-amplify/amplify-cli/issues/9002) [#9005](https://github.com/aws-amplify/amplify-cli/issues/9005) [#9006](https://github.com/aws-amplify/amplify-cli/issues/9006) [#9007](https://github.com/aws-amplify/amplify-cli/issues/9007) [#9008](https://github.com/aws-amplify/amplify-cli/issues/9008) [#9010](https://github.com/aws-amplify/amplify-cli/issues/9010) [#9011](https://github.com/aws-amplify/amplify-cli/issues/9011) [#9012](https://github.com/aws-amplify/amplify-cli/issues/9012) [#9014](https://github.com/aws-amplify/amplify-cli/issues/9014) [#9015](https://github.com/aws-amplify/amplify-cli/issues/9015) [#9017](https://github.com/aws-amplify/amplify-cli/issues/9017) [#9020](https://github.com/aws-amplify/amplify-cli/issues/9020) [#9024](https://github.com/aws-amplify/amplify-cli/issues/9024) [#9027](https://github.com/aws-amplify/amplify-cli/issues/9027) [#9028](https://github.com/aws-amplify/amplify-cli/issues/9028) [#9029](https://github.com/aws-amplify/amplify-cli/issues/9029) [#9032](https://github.com/aws-amplify/amplify-cli/issues/9032) [#9031](https://github.com/aws-amplify/amplify-cli/issues/9031) [#9035](https://github.com/aws-amplify/amplify-cli/issues/9035) [#9038](https://github.com/aws-amplify/amplify-cli/issues/9038) [#9039](https://github.com/aws-amplify/amplify-cli/issues/9039)
|
66
|
+
|
67
|
+
|
68
|
+
|
69
|
+
|
70
|
+
|
6
71
|
## [0.11.5](https://github.com/aws-amplify/amplify-cli/compare/@aws-amplify/graphql-index-transformer@0.11.4...@aws-amplify/graphql-index-transformer@0.11.5) (2022-04-18)
|
7
72
|
|
8
73
|
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"graphql-index-transformer.d.ts","sourceRoot":"","sources":["../src/graphql-index-transformer.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2C,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AACvH,OAAO,EACL,0BAA0B,EAE1B,yCAAyC,EACzC,6CAA6C,EAC9C,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,aAAa,EAEb,mBAAmB,EACnB,2BAA2B,EAE3B,wBAAwB,EACzB,MAAM,SAAS,CAAC;
|
1
|
+
{"version":3,"file":"graphql-index-transformer.d.ts","sourceRoot":"","sources":["../src/graphql-index-transformer.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2C,qBAAqB,EAAE,MAAM,uCAAuC,CAAC;AACvH,OAAO,EACL,0BAA0B,EAE1B,yCAAyC,EACzC,6CAA6C,EAC9C,MAAM,6CAA6C,CAAC;AACrD,OAAO,EACL,aAAa,EAEb,mBAAmB,EACnB,2BAA2B,EAE3B,wBAAwB,EACzB,MAAM,SAAS,CAAC;AAYjB,qBAAa,gBAAiB,SAAQ,qBAAqB;IACzD,OAAO,CAAC,aAAa,CAAqC;IAC1D,OAAO,CAAC,WAAW,CAAuD;;IAM1E,KAAK,WACK,wBAAwB,GAAG,2BAA2B,cAClD,mBAAmB,aACpB,aAAa,WACf,yCAAyC,KACjD,IAAI,CAkBL;IAEK,KAAK,QAAS,0BAA0B,KAAG,IAAI,CASpD;IAEF,eAAe,QAAS,6CAA6C,KAAG,IAAI,CAQ1E;IAEF,iBAAiB,QAAS,0BAA0B,KAAG,IAAI,CAKzD;CACH"}
|
@@ -59,11 +59,12 @@ class IndexTransformer extends graphql_transformer_core_1.TransformerPluginBase
|
|
59
59
|
}
|
60
60
|
}
|
61
61
|
exports.IndexTransformer = IndexTransformer;
|
62
|
-
|
63
|
-
const { name, object, field, sortKeyFields
|
64
|
-
const defaultGSI = ctx.featureFlags.getBoolean('secondaryKeyAsGSI', true);
|
62
|
+
function validate(config, ctx) {
|
63
|
+
const { name, object, field, sortKeyFields } = config;
|
65
64
|
(0, utils_1.validateNotSelfReferencing)(config);
|
66
|
-
const modelDirective = object.directives.find(directive =>
|
65
|
+
const modelDirective = object.directives.find(directive => {
|
66
|
+
return directive.name.value === 'model';
|
67
|
+
});
|
67
68
|
if (!modelDirective) {
|
68
69
|
throw new graphql_transformer_core_1.InvalidDirectiveError(`The @${directiveName} directive may only be added to object definitions annotated with @model.`);
|
69
70
|
}
|
@@ -76,27 +77,19 @@ const validate = (config, ctx) => {
|
|
76
77
|
continue;
|
77
78
|
}
|
78
79
|
if (peerDirective.name.value === 'primaryKey') {
|
79
|
-
const hasSortFields = peerDirective.arguments.some((arg) => { var _a; return arg.name.value === 'sortKeyFields' && ((_a = arg.value.values) === null || _a === void 0 ? void 0 : _a.length) > 0; });
|
80
80
|
config.primaryKeyField = objectField;
|
81
|
-
if (
|
82
|
-
|
83
|
-
|
84
|
-
|
81
|
+
if (objectField.name.value === field.name.value &&
|
82
|
+
!peerDirective.arguments.some((arg) => arg.name.value === 'sortKeyFields')) {
|
83
|
+
throw new graphql_transformer_core_1.InvalidDirectiveError(`Invalid @index '${name}'. You may not create an index where the partition key ` +
|
84
|
+
'is the same as that of the primary key unless the primary key has a sort field. ' +
|
85
|
+
'You cannot have a local secondary index without a sort key in the primary key.');
|
85
86
|
}
|
86
87
|
}
|
87
|
-
if (peerDirective.name.value === directiveName
|
88
|
-
|
88
|
+
if (peerDirective.name.value === directiveName &&
|
89
|
+
peerDirective.arguments.some((arg) => arg.name.value === 'name' && arg.value.value === name)) {
|
89
90
|
throw new graphql_transformer_core_1.InvalidDirectiveError(`You may only supply one @${directiveName} with the name '${name}' on type '${object.name.value}'.`);
|
90
91
|
}
|
91
92
|
}
|
92
|
-
for (const peerDirective of objectField.directives) {
|
93
|
-
const hasSortFields = peerDirective.arguments.some((arg) => { var _a; return arg.name.value === 'sortKeyFields' && ((_a = arg.value.values) === null || _a === void 0 ? void 0 : _a.length) > 0; });
|
94
|
-
if (!defaultGSI && !hasSortFields && objectField == config.primaryKeyField && objectField.name.value === field.name.value) {
|
95
|
-
throw new graphql_transformer_core_1.InvalidDirectiveError(`Invalid @index '${name}'. You may not create an index where the partition key `
|
96
|
-
+ 'is the same as that of the primary key unless the index has a sort field. '
|
97
|
-
+ 'You cannot have a local secondary index without a sort key in the index.');
|
98
|
-
}
|
99
|
-
}
|
100
93
|
}
|
101
94
|
const enums = ctx.output.getTypeDefinitionsOfKind(graphql_1.Kind.ENUM_TYPE_DEFINITION);
|
102
95
|
if (!(0, graphql_transformer_common_1.isScalarOrEnum)(field.type, enums) || (0, graphql_transformer_common_1.isListType)(field.type)) {
|
@@ -112,5 +105,5 @@ const validate = (config, ctx) => {
|
|
112
105
|
}
|
113
106
|
config.sortKey.push(sortField);
|
114
107
|
}
|
115
|
-
}
|
108
|
+
}
|
116
109
|
//# sourceMappingURL=graphql-index-transformer.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"graphql-index-transformer.js","sourceRoot":"","sources":["../src/graphql-index-transformer.ts"],"names":[],"mappings":";;;AAAA,oFAAuH;AAOvH,qCAOiB;AACjB,2EAAwE;AACxE,2CAA8F;AAC9F,qCAAiG;AAEjG,mCAAqD;AAErD,MAAM,aAAa,GAAG,OAAO,CAAC;AAC9B,MAAM,mBAAmB,GAAG;eACb,aAAa;CAC3B,CAAC;
|
1
|
+
{"version":3,"file":"graphql-index-transformer.js","sourceRoot":"","sources":["../src/graphql-index-transformer.ts"],"names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,IAAI,CAAC,IAAA,2CAAc,EAAC,KAAK,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,IAAA,uCAAU,EAAC,KAAK,CAAC,IAAI,CAAC,EAAE;QAChE,MAAM,IAAI,gDAAqB,CAAC,UAAU,IAAI,cAAc,MAAM,CAAC,IAAI,CAAC,KAAK,IAAI,KAAK,CAAC,IAAI,CAAC,KAAK,2BAA2B,CAAC,CAAC;KAC/H;IAED,KAAK,MAAM,gBAAgB,IAAI,aAAa,EAAE;QAC5C,MAAM,SAAS,GAAG,QAAQ,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC;QAEjD,IAAI,CAAC,SAAS,EAAE;YACd,MAAM,IAAI,gDAAqB,CAC7B,qBAAqB,gBAAgB,QAAQ,MAAM,CAAC,IAAI,CAAC,KAAK,oCAAoC,IAAI,IAAI,CAC3G,CAAC;SACH;QAED,IAAI,CAAC,IAAA,2CAAc,EAAC,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,IAAA,uCAAU,EAAC,SAAS,CAAC,IAAI,CAAC,EAAE;YACxE,MAAM,IAAI,gDAAqB,CAC7B,0BAA0B,IAAI,cAAc,MAAM,CAAC,IAAI,CAAC,KAAK,IAAI,SAAS,CAAC,IAAI,CAAC,KAAK,2BAA2B,CACjH,CAAC;SACH;QAED,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;KAChC;AACH,CAAC"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@aws-amplify/graphql-index-transformer",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.12.0-category-split-test.3",
|
4
4
|
"description": "Amplify GraphQL index and key transformers",
|
5
5
|
"repository": {
|
6
6
|
"type": "git",
|
@@ -27,15 +27,15 @@
|
|
27
27
|
"test": "jest"
|
28
28
|
},
|
29
29
|
"dependencies": {
|
30
|
-
"@aws-amplify/graphql-model-transformer": "0.
|
31
|
-
"@aws-amplify/graphql-transformer-core": "0.
|
32
|
-
"@aws-amplify/graphql-transformer-interfaces": "1.
|
30
|
+
"@aws-amplify/graphql-model-transformer": "0.14.0-category-split-test.3",
|
31
|
+
"@aws-amplify/graphql-transformer-core": "0.17.0-category-split-test.3",
|
32
|
+
"@aws-amplify/graphql-transformer-interfaces": "1.14.0-category-split-test.0",
|
33
33
|
"@aws-cdk/aws-appsync": "~1.124.0",
|
34
34
|
"@aws-cdk/aws-dynamodb": "~1.124.0",
|
35
35
|
"@aws-cdk/core": "~1.124.0",
|
36
36
|
"graphql": "^14.5.8",
|
37
|
-
"graphql-mapping-template": "4.
|
38
|
-
"graphql-transformer-common": "4.
|
37
|
+
"graphql-mapping-template": "4.21.0-category-split-test.3",
|
38
|
+
"graphql-transformer-common": "4.24.0-category-split-test.3"
|
39
39
|
},
|
40
40
|
"devDependencies": {
|
41
41
|
"@aws-cdk/assert": "~1.124.0"
|
@@ -55,5 +55,5 @@
|
|
55
55
|
],
|
56
56
|
"collectCoverage": true
|
57
57
|
},
|
58
|
-
"gitHead": "
|
58
|
+
"gitHead": "d726da9deee5039e49cc750c16180b29744d911e"
|
59
59
|
}
|