You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// The from field is explcitely marked external by the user (which means it is "used" and cannot be completely
1110
+
// The from field is explicitly marked external by the user (which means it is "used" and cannot be completely
1107
1111
// removed) so the @override can be removed.
1108
1112
this.hints.push(newCompositionHint(
1109
1113
hintOverrideDirectiveCanBeRemoved,
1110
1114
`Field "${coordinate}" on subgraph "${subgraphName}" is not resolved anymore by the from subgraph (it is marked "@external" in "${sourceSubgraphName}"). The @override directive can be removed.`,
`Field "${coordinate}" on subgraph "${sourceSubgraphName}" is overridden. It is still used in some federation directive(s) (@key, @requires, and/or @provides) and/or to satisfy interface constraint(s), but consider marking it @external explicitly or removing it along with its references.`,
1118
1123
coordinate,
1124
+
overriddenSubgraphASTNode,
1119
1125
));
1120
1126
}else{
1121
1127
result.setUnusedOverridden(fromIdx);
1122
1128
this.hints.push(newCompositionHint(
1123
1129
hintOverriddenFieldCanBeRemoved,
1124
1130
`Field "${coordinate}" on subgraph "${sourceSubgraphName}" is overridden. Consider removing it.`,
0 commit comments