@graphql-codegen/visitor-plugin-common 6.0.0-alpha-20250109122810-aa191e7ac94facb19d577e2fb0b27967d3590cbb → 6.0.0-alpha-20250118081501-dd2b0bdaa05321a511f89cfeee5bf398fc77b86b
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -683,7 +683,6 @@ class BaseResolversVisitor extends base_visitor_js_1.BaseVisitor {
|
|
|
683
683
|
if (!federationDetails || federationDetails.resolvableKeyDirectives.length === 0) {
|
|
684
684
|
return '';
|
|
685
685
|
}
|
|
686
|
-
signature.modifier = ''; // if a federation type has resolvable @key, then it should be required
|
|
687
686
|
}
|
|
688
687
|
this._federation.setMeta(parentType.name, { hasResolveReference: true });
|
|
689
688
|
signature.type = 'ReferenceResolver';
|
|
@@ -679,7 +679,6 @@ export class BaseResolversVisitor extends BaseVisitor {
|
|
|
679
679
|
if (!federationDetails || federationDetails.resolvableKeyDirectives.length === 0) {
|
|
680
680
|
return '';
|
|
681
681
|
}
|
|
682
|
-
signature.modifier = ''; // if a federation type has resolvable @key, then it should be required
|
|
683
682
|
}
|
|
684
683
|
this._federation.setMeta(parentType.name, { hasResolveReference: true });
|
|
685
684
|
signature.type = 'ReferenceResolver';
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@graphql-codegen/visitor-plugin-common",
|
|
3
|
-
"version": "6.0.0-alpha-
|
|
3
|
+
"version": "6.0.0-alpha-20250118081501-dd2b0bdaa05321a511f89cfeee5bf398fc77b86b",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0"
|
|
6
6
|
},
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@graphql-tools/optimize": "^2.0.0",
|
|
9
|
-
"@graphql-codegen/plugin-helpers": "6.0.0-alpha-
|
|
9
|
+
"@graphql-codegen/plugin-helpers": "6.0.0-alpha-20250118081501-dd2b0bdaa05321a511f89cfeee5bf398fc77b86b",
|
|
10
10
|
"@graphql-tools/relay-operation-optimizer": "^7.0.0",
|
|
11
11
|
"@graphql-tools/utils": "^10.0.0",
|
|
12
12
|
"auto-bind": "~4.0.0",
|