mediative / sangria-codegen   0.0.3

Apache License 2.0 GitHub

Generate API code based on a GraphQL schema and queries

Scala versions: 2.11

Sangria GraphQL Code Generator

Build Status Latest version

Generate API code based on a GraphQL schema and query documents.

Inspired by apollo-codegen.

⚠️ This project has been superseded by sbt-graphql. ⚠️

Getting Started

Add the following to your build.sbt:

resolvers += Resolver.bintrayRepo("mediative", "maven")
libraryDependencies += "com.mediative" %% "sangria-codegen" % "0.0.8"

Documentation

Building and Testing

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.

Releasing

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.

License

Copyright 2017 Mediative

Licensed under the Apache License, Version 2.0. See LICENSE file for terms and conditions for use, reproduction, and distribution.