summaryrefslogtreecommitdiff
path: root/tests/Language/GraphQL/AST/ParserSpec.hs
AgeCommit message (Collapse)Author
2024-11-05Parse interfaces implementing interfacesEugen Wissner
2024-10-17Fix block alignment in some parser testsEugen Wissner
2024-10-13Validate repeatable directivesEugen Wissner
2024-09-17Add a test for empty field argument listEugen Wissner
... within parens.
2024-08-27Parse repeatable directive definitionsEugen Wissner
2022-02-14add Arbitrary instances for AST.Document, add random arguments Parser testDmitrii Skurikhin
2022-01-09fix empty list argument parsingDmitrii Skurikhin
2021-09-23Remove raw-strings-qqEugen Wissner
2021-02-21Fix some issues with directive definitionsBen Sinclair
I found some issues with directive definitions: - I couldn't use `on FIELD_DEFINITION`, I believe because `FIELD` was parsed first in `executableDirectiveLocation`. I've combined both `executableDirectiveLocation` and `typetypeSystemDirectiveLocation` into one function which can reorder them to ensure every directive location gets a fair chance at parsing. Not actually to do with directives, some literals weren't being parsed correctly. - The GraphQL spec defines list to be `[]` or `[Value]`, but empty literal lists weren't being parsed correctly because of using `some` instead of `many`. - The GraphQL spec defines objects to be `{}` or `{Name: Value}`, but empty literal objects had the same issue.
2020-09-18Validate directives are unique per locationEugen Wissner
2020-07-20Draft the Validation APIEugen Wissner
2020-07-11Parse subscriptionsEugen Wissner
2020-07-09Parse comments in the front of definitionsEugen Wissner
2020-05-22Reject variables as default valuesEugen Wissner
2020-01-28Try all extension parsersEugen Wissner
2020-01-25Parse schema extensionsEugen Wissner
2020-01-15Parse complete TypeSystemDefinitionEugen Wissner
2020-01-13Parse enum and input object type definitionsEugen Wissner
2020-01-13Parse interface type definitionEugen Wissner
2020-01-13Parse union definitionsEugen Wissner
2020-01-13Parse ObjectDefinitionEugen Wissner
2020-01-13Parse SchemaDefinitionEugen Wissner
2019-11-28Fix strings not consuming spacesSam Nolan
Fixes #28
2019-11-21Fix failed parsing on multiple required argumentsSam Nolan
Fixes #25.
2019-11-03Move related modules to Language.GraphQL.ASTEugen Wissner
Fixes #18. - `Language.GraphQL.Encoder` moved to `Language.GraphQL.AST.Encoder`. - `Language.GraphQL.Parser` moved to `Language.GraphQL.AST.Parser`. - `Language.GraphQL.Lexer` moved to `Language.GraphQL.AST.Lexer`. - All `Language.GraphQL.AST.Value` data constructor prefixes were removed. The module should be imported qualified. - All `Language.GraphQL.AST.Core.Value` data constructor prefixes were removed. The module should be imported qualified. - `Language.GraphQL.AST.Transform` is now isn't exposed publically anymore.