Fix parsing of Named Types

This commit is contained in:
Danny Navarro 2017-02-12 15:31:56 -03:00
parent b7a72591fd
commit 39731ff233
No known key found for this signature in database
GPG Key ID: 81E5F99780FA6A32
1 changed files with 1 additions and 1 deletions

View File

@ -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!"