Skip to content

Commit cf5b234

Browse files
committed
Fix tests on abstract type invariant
1 parent 47f87fa commit cf5b234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/execution/execute.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ function completeAbstractValue(
821821
defaultResolveTypeFn(result, exeContext.contextValue, info, returnType);
822822

823823
invariant(
824-
!runtimeType,
824+
runtimeType,
825825
`Could not determine runtime type of value "${result}" for field ${
826826
info.parentType}.${info.fieldName}.`
827827
);

0 commit comments

Comments
 (0)