Skip to content

Commit 0575e15

Browse files
committed
chore: upgrade graphql-compose with fixed typedefs
1 parent 51bdecf commit 0575e15

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

package.json

+2-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@
77
"lib"
88
],
99
"main": "lib/index.js",
10-
"module": "mjs/index.mjs",
1110
"types": "lib/index.d.ts",
1211
"repository": {
1312
"type": "git",
@@ -30,7 +29,7 @@
3029
"graphql-compose-pagination": "^7.0.0"
3130
},
3231
"peerDependencies": {
33-
"graphql-compose": "^7.1.0",
32+
"graphql-compose": "^7.21.4",
3433
"mongoose": "^5.0.0 || ^4.4.0"
3534
},
3635
"devDependencies": {
@@ -45,7 +44,7 @@
4544
"eslint-plugin-import": "2.22.0",
4645
"eslint-plugin-prettier": "3.1.4",
4746
"graphql": "15.3.0",
48-
"graphql-compose": "7.19.4",
47+
"graphql-compose": "7.21.4",
4948
"graphql-compose-connection": "^6.2.0",
5049
"graphql-compose-pagination": "^6.1.0",
5150
"jest": "26.4.1",

src/discriminators/composeChildTC.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function copyBaseTcRelationsToChildTc(
1616
if (childRelations[name]) {
1717
return;
1818
}
19-
childTC.addRelation(name, relations[name] as any);
19+
childTC.addRelation(name, relations[name]);
2020
});
2121

2222
return childTC;

yarn.lock

+4-4
Original file line numberDiff line numberDiff line change
@@ -3195,10 +3195,10 @@ graphql-compose-pagination@^7.0.0:
31953195
resolved "https://registry.yarnpkg.com/graphql-compose-pagination/-/graphql-compose-pagination-7.0.0.tgz#81edf2327416d10f237a3f1ff67990899a37b017"
31963196
integrity sha512-Rak7Dmkb5U4Kio+FgWSucVFho2xxRyCI+kNcZWhxJRVfZusw+VuhjkvxPUiKTiFEb+DtTrXUeetWT24plcC0fg==
31973197

3198-
graphql-compose@7.19.4:
3199-
version "7.19.4"
3200-
resolved "https://registry.yarnpkg.com/graphql-compose/-/graphql-compose-7.19.4.tgz#bda521055a45bafb646754c078d2c97fdc08dd6e"
3201-
integrity sha512-j+n/3j19X83s/8JQCE3GSk+py7/7gHciqDdECD3p33x99UQmxmgcsqsIV1QyEdaJqq0SoCPjwCSzjXvEjkpiWw==
3198+
graphql-compose@7.21.4:
3199+
version "7.21.4"
3200+
resolved "https://registry.yarnpkg.com/graphql-compose/-/graphql-compose-7.21.4.tgz#5927b0906322f12c8ed6de2da204d17fde8fb1f4"
3201+
integrity sha512-sLehZREpIAr1TDnefmZBSrIC0NsyebdQ8I1NJS+OTp/Rkpw1HOWuCzbYosbttlkMewinKgAYFcjE2B3EnS7hIA==
32023202
dependencies:
32033203
graphql-type-json "0.3.2"
32043204
object-path "^0.11.4"

0 commit comments

Comments
 (0)