GraphQL implementation in Haskell
Go to file
Ben Sinclair ca0f0bd32d Fix some issues with directive definitions
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-21 23:35:34 +11:00
src Fix some issues with directive definitions 2021-02-21 23:35:34 +11:00
tests Fix some issues with directive definitions 2021-02-21 23:35:34 +11:00
.gitignore Check in .cabal 2020-07-03 07:00:37 +02:00
CHANGELOG.md Fix some issues with directive definitions 2021-02-21 23:35:34 +11:00
graphql.cabal Add OrderedMap prototype 2021-02-13 06:56:10 +01:00
LICENSE Update copyright 2020-01-21 23:27:21 +01:00
LICENSE.MPL Reflect infrastructure and license changes 2020-10-30 07:06:36 +01:00
package.yaml Add OrderedMap prototype 2021-02-13 06:56:10 +01:00
README.md Release 0.11.1.0 2021-02-07 08:10:46 +01:00
Setup.hs Initial commit 2015-09-12 12:54:05 +02:00
stack.yaml traverseMaybe OrderedMap 2021-02-15 09:04:16 +01:00

GraphQL implementation in Haskell

Simple Haskell CI/CD

See https://www.caraus.tech/projects/pub-graphql.

Report issues on the bug tracker.

API documentation is available through Hackage.

Further documentation will be made available in the Wiki.