Skip to content

Commit 90c668c

Browse files
committed
Fix bug in RecursivelyStripSemanticNonNullTypes
1 parent 9033398 commit 90c668c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

spec/Section 4 -- Introspection.md

+2
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,8 @@ RecursivelyStripSemanticNonNullTypes(type):
458458
- If {type} is a Semantic-Non-Null type:
459459
- Let {innerType} be the inner type of {type}.
460460
- Return {RecursivelyStripSemanticNonNullTypes(innerType)}.
461+
- Otherwise, if {type} is a Non-Null type or List type:
462+
- Return {RecursivelyStripSemanticNonNullTypes(type)}.
461463
- Otherwise, return {type}.
462464

463465
Note: This algorithm recursively removes all Semantic-Non-Null type wrappers

0 commit comments

Comments
 (0)