Skip to content

Commit 0a8b68f

Browse files
committed
logging cleanup
1 parent d11a647 commit 0a8b68f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/execution/execute.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -651,12 +651,9 @@ function completeValue(
651651
throw result;
652652
}
653653

654-
console.log("anything", path, result);
655-
656654
// If field type is NonNull, complete for inner type, and throw field error
657655
// if result is null.
658656
if (isNonNullType(returnType)) {
659-
console.log("is non null");
660657
const completed = completeValue(
661658
exeContext,
662659
returnType.ofType,
@@ -676,7 +673,6 @@ function completeValue(
676673
// If field type is SemanticNonNull, complete for inner type, and throw field error
677674
// if result is null and an error doesn't exist.
678675
if (isSemanticNonNullType(returnType)) {
679-
console.log("Is semantic non null")
680676
const completed = completeValue(
681677
exeContext,
682678
returnType.ofType,
@@ -707,7 +703,6 @@ function completeValue(
707703

708704
// If result value is null or undefined then return null.
709705
if (result == null) {
710-
console.log("is null")
711706
return null;
712707
}
713708

@@ -726,14 +721,12 @@ function completeValue(
726721
// If field type is a leaf type, Scalar or Enum, serialize to a valid value,
727722
// returning null if serialization is not possible.
728723
if (isLeafType(returnType)) {
729-
console.log("is leaf")
730724
return completeLeafValue(returnType, result);
731725
}
732726

733727
// If field type is an abstract type, Interface or Union, determine the
734728
// runtime Object type and complete for that type.
735729
if (isAbstractType(returnType)) {
736-
console.log("is abstract")
737730
return completeAbstractValue(
738731
exeContext,
739732
returnType,
@@ -746,7 +739,6 @@ function completeValue(
746739

747740
// If field type is Object, execute and complete all sub-selections.
748741
if (isObjectType(returnType)) {
749-
console.log("is object")
750742
return completeObjectValue(
751743
exeContext,
752744
returnType,

0 commit comments

Comments
 (0)