bb685c9afa
The first end-to-end test taken from `graphql-js` passes but this still needs to be extended to support more general cases. - `Data.GraphQL.Schema` has been heavily modified to support the execution model. More drastic changes are expected in this module. - When defining a `Schema` ordinary functions taking fields as input are being used instead of maps. This makes the implementation of `execute` easier, and, arguably, makes `Schema` definitions more *Haskellish*. - Drop explicit `unordered-containers` dependency. `Aeson.Value`s and field functions should be good enough for now.
54 lines
1.9 KiB
Plaintext
54 lines
1.9 KiB
Plaintext
name: graphql
|
|
version: 0.3
|
|
synopsis: Haskell GraphQL implementation
|
|
description:
|
|
This package provides a rudimentary parser for the
|
|
<https://facebook.github.io/graphql/ GraphQL> language.
|
|
homepage: https://github.com/jdnavarro/graphql-haskell
|
|
bug-reports: https://github.com/jdnavarro/graphql-haskell/issues
|
|
license: BSD3
|
|
license-file: LICENSE
|
|
author: Danny Navarro
|
|
maintainer: j@dannynavarro.net
|
|
copyright: Copyright (C) 2015 J. Daniel Navarro
|
|
category: Web
|
|
build-type: Simple
|
|
cabal-version: >=1.10
|
|
tested-with: GHC == 7.8.4, GHC == 7.10.2
|
|
extra-source-files: README.md CHANGELOG.md stack.yaml
|
|
data-files: tests/data/*.graphql
|
|
tests/data/*.min.graphql
|
|
|
|
library
|
|
default-language: Haskell2010
|
|
ghc-options: -Wall
|
|
exposed-modules: Data.GraphQL.AST
|
|
Data.GraphQL.Encoder
|
|
Data.GraphQL.Execute
|
|
Data.GraphQL.Schema
|
|
Data.GraphQL.Parser
|
|
build-depends: base >= 4.7 && < 5,
|
|
text >= 0.11.3.1,
|
|
aeson >= 0.7.0.3,
|
|
attoparsec >= 0.10.4.0
|
|
|
|
test-suite tasty
|
|
default-language: Haskell2010
|
|
type: exitcode-stdio-1.0
|
|
hs-source-dirs: tests
|
|
main-is: tasty.hs
|
|
ghc-options: -Wall
|
|
other-modules: Paths_graphql
|
|
Test.StarWars
|
|
build-depends: base >= 4.6 && <5,
|
|
aeson >= 0.7.0.3,
|
|
text >= 0.11.3.1,
|
|
attoparsec >= 0.10.4.0,
|
|
tasty >= 0.10,
|
|
tasty-hunit >= 0.9,
|
|
graphql
|
|
|
|
source-repository head
|
|
type: git
|
|
location: git://github.com/jdnavarro/graphql-haskell.git
|