cap3 / sangria-utils Edit

Utils and snippets for the sangria grapqhl library for scala.

Version Matrix

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._