cap3 / sangria-utils   0.1

MIT License GitHub

Utils and snippets for the sangria grapqhl library for scala.

Scala versions: 2.12 2.11

sangria-utils

Build Status

Utils and snippets for the sangria grapqhl library for scala.

Install

build.sbt

resolvers += Resolver.sonatypeRepo("public")

libraryDependencies ++= Seq(
  "de.cap3" %% "sangria-utils" % "0.1"
)

conf/application.conf

play.modules.enabled += "de.cap3.sangria.SangriaModule"

Getting Started

Common Scalar Types

To use the common scalar types, you have to add the following import:

import de.cap3.sangria.CommonSchema._