[ 
https://issues.apache.org/jira/browse/S2GRAPH-228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16520053#comment-16520053
 ] 

ASF GitHub Bot commented on S2GRAPH-228:
----------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/incubator-s2graph/pull/176


> 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
>            Priority: Trivial
>
> 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)

Reply via email to