This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import spray.json._ | |
| import scala.collection.immutable.{ListMap} | |
| import scala.io.Source | |
| trait SortedPrettyPrinter extends PrettyPrinter { | |
| override protected def printObject(members: Map[String, JsValue], sb: java.lang.StringBuilder, indent: Int) { | |
| sb.append("{\n") | |
| printSeq(ListMap(members.toSeq.sortBy(_._1):_*), sb.append(",\n")) { m => |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using GraphQL; | |
| using GraphQL.Execution; | |
| using GraphQL.Http; | |
| using GraphQL.Types; | |
| using System; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| namespace GraphQLConsole | |
| { |