summaryrefslogtreecommitdiff
path: root/tests/Language/GraphQL/AST
AgeCommit message (Collapse)Author
2024-11-05Parse interfaces implementing interfacesEugen Wissner
2024-10-17Fix block alignment in some parser testsEugen Wissner
2024-10-14Replace gql in Encoder tests with multiline stringEugen Wissner
2024-10-13Validate repeatable directivesEugen Wissner
2024-09-17Add a test for empty field argument listEugen Wissner
... within parens.
2024-08-28Test directive definition decoderEugen Wissner
2024-08-27Parse repeatable directive definitionsEugen Wissner
2024-04-02Update hlint to 3.8Eugen Wissner
2023-01-10Encode input object typesEugen Wissner
2023-01-09Encode enumsEugen Wissner
2023-01-08Encode unionsEugen Wissner
2023-01-02Encode interfaces (2018)Eugen Wissner
2022-12-27Add Semigroup and Monoid instances for DescriptionEugen Wissner
2022-12-25Encode schema definitionsEugen Wissner
2022-10-02Add operation type encoderEugen 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-09-22Don't append a trailing newline in gqlEugen 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.
2021-02-04Provide custom Show instances for AST valuesEugen Wissner
2020-09-30Validate input object field namesEugen Wissner
2020-09-21Validate all variables are definedEugen Wissner
2020-09-18Validate directives are unique per locationEugen Wissner
2020-09-15Use Seq as base monad in the validatorEugen Wissner
It is more natural to implement the logic: try to apply each rule to each node.
2020-09-09Validate all fragments are usedEugen Wissner
2020-09-05Validate fragment spread type existenceEugen Wissner
2020-08-25Validate single root field in subscriptionsEugen 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-04-10Don't encode controls as block stringsDmitrii Skurikhin
Fixes #39. String containing control sequences should be encoded as simple strings even if they contain newlines, since the block strings can contain only SourceCharacters.
2020-03-31encode null value as "null"Dmitrii Skurikhin
2020-01-28Try all extension parsersEugen Wissner
2020-01-25Parse schema extensionsEugen Wissner
2020-01-17Add "extend symbol" lexer to parse 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-12-28Move AST to AST.DocumentEugen Wissner
2019-12-25Replace AST.Selection data constructorsEugen Wissner
2019-12-21Pretify multi-line string arguments as block stringsEugen Wissner
Fixes #10.
2019-12-20Encode Unicode. Fix #34Eugen Wissner
2019-12-19Escape non-source characters in the encoderEugen Wissner
2019-11-28Fix strings not consuming spacesSam Nolan
Fixes #28
2019-11-21Fix failed parsing on multiple required argumentsSam Nolan
Fixes #25.