Generate API code based on a GraphQL schema and query documents.
Inspired by apollo-codegen.
Add the following to your build.sbt
:
resolvers += Resolver.bintrayRepo("mediative", "maven")
libraryDependencies += "com.mediative" %% "sangria-codegen" % "0.0.8"
This library is built with sbt, which needs to be installed. Run the following command from the project root, to build and run all test:
$ sbt validate
See CONTRIBUTING.md for how to contribute.
To release version x.y.z
run:
$ sbt -Dversion=x.y.z release
This will run the tests, create a tag and publish JARs and API docs.
Copyright 2017 Mediative
Licensed under the Apache License, Version 2.0. See LICENSE file for terms and conditions for use, reproduction, and distribution.