clue.model

package clue.model

Type members

Classlikes

final case class GraphQLError(message: String, path: List[PathElement], locations: List[Location], extensions: Map[String, String])
Companion:
object
Companion:
class
final case class GraphQLRequest(query: String, operationName: Option[String], variables: Option[Json])

A raw (pre-parsed) GraphQL request.

A raw (pre-parsed) GraphQL request.

Value parameters:
operationName

identifies a particular operation in the query to execute

query

the query itself

variables

values corresponding to variables in the query

Companion:
object
Companion:
class

GraphQL web socket protocol streaming messages. Messages are cleanly divided in those coming FromClient and those coming FromServer. See also https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md. Also see: https://medium.com/@rob.blackbourn/writing-a-graphql-websocket-subscriber-in-javascript-4451abb9cd60

GraphQL web socket protocol streaming messages. Messages are cleanly divided in those coming FromClient and those coming FromServer. See also https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md. Also see: https://medium.com/@rob.blackbourn/writing-a-graphql-websocket-subscriber-in-javascript-4451abb9cd60