File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -22,11 +22,11 @@ import { typeFromAST } from '../utilities/typeFromAST';
22
22
import { getDirectiveValues } from './values' ;
23
23
24
24
/**
25
- * Given a selectionSet, collect all of the fields and returns it at the end .
25
+ * Given a selectionSet, collects all of the fields and returns them .
26
26
*
27
- * CollectFields requires the "runtime type" of an object. For a field which
27
+ * CollectFields requires the "runtime type" of an object. For a field that
28
28
* returns an Interface or Union type, the "runtime type" will be the actual
29
- * Object type returned by that field.
29
+ * object type returned by that field.
30
30
*
31
31
* @internal
32
32
*/
@@ -52,11 +52,11 @@ export function collectFields(
52
52
53
53
/**
54
54
* Given an array of field nodes, collects all of the subfields of the passed
55
- * in fields, and returns it at the end.
55
+ * in fields, and returns them at the end.
56
56
*
57
- * CollectFields requires the "return type" of an object. For a field which
57
+ * CollectSubFields requires the "return type" of an object. For a field that
58
58
* returns an Interface or Union type, the "return type" will be the actual
59
- * Object type returned by that field.
59
+ * object type returned by that field.
60
60
*
61
61
* @internal
62
62
*/
You can’t perform that action at this time.
0 commit comments