forked from OSS/graphql
Fix parsing of Named Types
This commit is contained in:
parent
b7a72591fd
commit
39731ff233
@ -179,7 +179,7 @@ defaultValue = tok "=" *> value
|
||||
-- * Input Types
|
||||
|
||||
type_ :: Parser Type
|
||||
type_ = TypeNamed <$> name
|
||||
type_ = TypeNamed <$> name <* but "!"
|
||||
<|> TypeList <$> brackets type_
|
||||
<|> TypeNonNull <$> nonNullType
|
||||
<?> "type_ error!"
|
||||
|
Loading…
Reference in New Issue
Block a user