forked from OSS/graphql
Eugen Wissner
d12577ae71
Returning resolvers from other resolvers isn't supported anymore. Since we have a type system now, we define the resolvers in the object type fields and pass an object with the previous result to them.
62 lines
1.3 KiB
YAML
62 lines
1.3 KiB
YAML
name: graphql
|
|
version: 0.7.0.0
|
|
synopsis: Haskell GraphQL implementation
|
|
description:
|
|
This package provides a rudimentary parser for the
|
|
<https://graphql.github.io/graphql-spec/June2018/ GraphQL> language.
|
|
maintainer: belka@caraus.de
|
|
github: caraus-ecms/graphql
|
|
category: Language
|
|
copyright:
|
|
- (c) 2019-2020 Eugen Wissner
|
|
- (c) 2015-2017 J. Daniel Navarro
|
|
author:
|
|
- Danny Navarro <j@dannynavarro.net>
|
|
- Matthías Páll Gissurarson <mpg@mpg.is>
|
|
- Sólrún Halla Einarsdóttir <she@mpg.is>
|
|
|
|
extra-source-files:
|
|
- CHANGELOG.md
|
|
- README.md
|
|
- LICENSE
|
|
- docs/tutorial/tutorial.lhs
|
|
|
|
data-files:
|
|
- tests/data/*.graphql
|
|
- tests/data/*.min.graphql
|
|
|
|
dependencies:
|
|
- aeson
|
|
- base >= 4.7 && < 5
|
|
- containers
|
|
- megaparsec
|
|
- parser-combinators
|
|
- scientific
|
|
- text
|
|
- transformers
|
|
- unordered-containers
|
|
- vector
|
|
|
|
library:
|
|
source-dirs: src
|
|
other-modules:
|
|
- Language.GraphQL.Execute.Execution
|
|
- Language.GraphQL.Execute.Transform
|
|
- Language.GraphQL.Type.Directive
|
|
|
|
tests:
|
|
tasty:
|
|
main: Spec.hs
|
|
source-dirs: tests
|
|
ghc-options:
|
|
- -threaded
|
|
- -rtsopts
|
|
- -with-rtsopts=-N
|
|
dependencies:
|
|
- graphql
|
|
- hspec
|
|
- hspec-expectations
|
|
- hspec-megaparsec
|
|
- QuickCheck
|
|
- raw-strings-qq
|