@@ -244,6 +244,8 @@ function buildResponse(
244
244
/**
245
245
* Essential assertions before executing to provide developer feedback for
246
246
* improper use of the GraphQL library.
247
+ *
248
+ * @internal
247
249
*/
248
250
export function assertValidExecutionArguments (
249
251
schema : GraphQLSchema ,
@@ -267,6 +269,8 @@ export function assertValidExecutionArguments(
267
269
* execute, which we will pass throughout the other execution methods.
268
270
*
269
271
* Throws a GraphQLError if a valid execution context cannot be created.
272
+ *
273
+ * @internal
270
274
*/
271
275
export function buildExecutionContext(
272
276
schema: GraphQLSchema,
@@ -465,6 +469,8 @@ function executeFields(
465
469
* CollectFields requires the "runtime type" of an object. For a field which
466
470
* returns an Interface or Union type, the "runtime type" will be the actual
467
471
* Object type returned by that field.
472
+ *
473
+ * @internal
468
474
*/
469
475
export function collectFields (
470
476
exeContext : ExecutionContext ,
@@ -641,6 +647,9 @@ function resolveField(
641
647
) ;
642
648
}
643
649
650
+ /**
651
+ * @internal
652
+ */
644
653
export function buildResolveInfo(
645
654
exeContext: ExecutionContext,
646
655
fieldDef: GraphQLField< mixed , mixed > ,
@@ -664,8 +673,12 @@ export function buildResolveInfo(
664
673
} ;
665
674
}
666
675
667
- // Isolates the "ReturnOrAbrupt" behavior to not de-opt the `resolveField`
668
- // function. Returns the result of resolveFn or the abrupt-return Error object.
676
+ /**
677
+ * Isolates the "ReturnOrAbrupt" behavior to not de-opt the `resolveField`
678
+ * function. Returns the result of resolveFn or the abrupt-return Error object.
679
+ *
680
+ * @internal
681
+ */
669
682
export function resolveFieldValueOrError(
670
683
exeContext: ExecutionContext,
671
684
fieldDef: GraphQLField< mixed , mixed > ,
@@ -1192,6 +1205,8 @@ export const defaultFieldResolver: GraphQLFieldResolver<
1192
1205
* are allowed, like on a Union. __schema could get automatically
1193
1206
* added to the query type, but that would require mutating type
1194
1207
* definitions, which would cause issues.
1208
+ *
1209
+ * @internal
1195
1210
*/
1196
1211
export function getFieldDef (
1197
1212
schema : GraphQLSchema ,
0 commit comments