A reference, batteries included, Sangria GraphQL server implementation using akka-http.
Various json libraries are supported:
- circe
- ???
- PRs adding the json library of your choice welcome
Add this to your dependencies:
libraryDependencies += "org.sangria-graphql" %% "sangria-akka-http-core" % "2.0"
// And choose your desired json library support:
libraryDependencies += "org.sangria-graphql" %% "sangria-akka-http-circe" % "2.0"
include magic
val server = ???
For a full example, consult the Sangria Akka Http example project.
TODO: write
TODO: write