Skip to content

Commit 32196c4

Browse files
committed
simplify
1 parent 77b927d commit 32196c4

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

spec/Section 6 -- Execution.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -738,18 +738,9 @@ ResolveAbstractType(abstractType, objectValue):
738738
the type system for determining the Object type of {abstractType} given the
739739
value {objectValue}.
740740
- Assert {resolvedType} is an Object type.
741-
- Assert {IsSubType(abstractType, resolvedType)}.
741+
- Assert {resolvedType} implements {abstractType}.
742742
- Return {resolvedType}.
743743

744-
IsSubType(superType, maybeSubType):
745-
746-
- If {abstractType} is an Interface type.
747-
- If {resolvedType} implements {abstractType}, return {true}.
748-
- Otherwise, return {false}.
749-
- If {abstractType} is a Union type.
750-
- If {resolvedType} is a member type of {abstractType}, return {true}.
751-
- Otherwise, return {false}.
752-
753744
**Merging Selection Sets**
754745

755746
When more than one field of the same name is executed in parallel, their

0 commit comments

Comments
 (0)