@@ -651,12 +651,9 @@ function completeValue(
651
651
throw result ;
652
652
}
653
653
654
- console . log ( "anything" , path , result ) ;
655
-
656
654
// If field type is NonNull, complete for inner type, and throw field error
657
655
// if result is null.
658
656
if ( isNonNullType ( returnType ) ) {
659
- console . log ( "is non null" ) ;
660
657
const completed = completeValue (
661
658
exeContext ,
662
659
returnType . ofType ,
@@ -676,7 +673,6 @@ function completeValue(
676
673
// If field type is SemanticNonNull, complete for inner type, and throw field error
677
674
// if result is null and an error doesn't exist.
678
675
if ( isSemanticNonNullType ( returnType ) ) {
679
- console . log ( "Is semantic non null" )
680
676
const completed = completeValue (
681
677
exeContext ,
682
678
returnType . ofType ,
@@ -707,7 +703,6 @@ function completeValue(
707
703
708
704
// If result value is null or undefined then return null.
709
705
if ( result == null ) {
710
- console . log ( "is null" )
711
706
return null ;
712
707
}
713
708
@@ -726,14 +721,12 @@ function completeValue(
726
721
// If field type is a leaf type, Scalar or Enum, serialize to a valid value,
727
722
// returning null if serialization is not possible.
728
723
if ( isLeafType ( returnType ) ) {
729
- console . log ( "is leaf" )
730
724
return completeLeafValue ( returnType , result ) ;
731
725
}
732
726
733
727
// If field type is an abstract type, Interface or Union, determine the
734
728
// runtime Object type and complete for that type.
735
729
if ( isAbstractType ( returnType ) ) {
736
- console . log ( "is abstract" )
737
730
return completeAbstractValue (
738
731
exeContext ,
739
732
returnType ,
@@ -746,7 +739,6 @@ function completeValue(
746
739
747
740
// If field type is Object, execute and complete all sub-selections.
748
741
if ( isObjectType ( returnType ) ) {
749
- console . log ( "is object" )
750
742
return completeObjectValue (
751
743
exeContext ,
752
744
returnType ,
0 commit comments