Skip to content

Commit e257fe8

Browse files
committed
Updated 'Field' to Kind.FIELD.
1 parent d3ac1ee commit e257fe8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/apollo-gateway/src/FieldSet.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ function mergeFieldNodeSelectionSets(
138138
): SelectionNode[] {
139139
const [fieldNodes, fragmentNodes] = partition(
140140
selectionNodes,
141-
(node: SelectionNode): node is FieldNode => node.kind === 'Field',
141+
(node: SelectionNode): node is FieldNode => node.kind === Kind.FIELD,
142142
);
143143

144144
const [aliasedFieldNodes, nonAliasedFieldNodes] = partition(

0 commit comments

Comments
 (0)