DOYUNG YOON created S2GRAPH-228: ----------------------------------- Summary: GraphQL empty variable fields on post request cause spray.json.DeserializationException. Key: S2GRAPH-228 URL: https://issues.apache.org/jira/browse/S2GRAPH-228 Project: S2Graph Issue Type: Bug Components: s2graphql Reporter: DOYUNG YOON Assignee: DOYUNG YOON
When send post request with empty variable on GraphiQL cause following erros. {noformat} s2graphql spray.json.DeserializationException: JSON object expected s2graphql at spray.json.package$.deserializationError(package.scala:23) s2graphql at spray.json.JsValue.asJsObject(JsValue.scala:36) s2graphql at spray.json.JsValue.asJsObject(JsValue.scala:41) s2graphql at org.apache.s2graph.graphql.Server$$anonfun$4$$anonfun$apply$4$$anonfun$apply$9$$anonfun$apply$12.apply(HttpServer.scala:92) s2graphql at org.apache.s2graph.graphql.Server$$anonfun$4$$anonfun$apply$4$$anonfun$apply$9$$anonfun$apply$12.apply(HttpServer.scala:92) s2graphql at akka.http.scaladsl.server.directives.RouteDirectives$$anonfun$complete$1.apply(RouteDirectives.scala:47) s2graphql at akka.http.scaladsl.server.directives.RouteDirectives$$anonfun$complete$1.apply(RouteDirectives.scala:47) {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)