Parser

caliban.parsing.Parser
object Parser

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Parser.type

Members list

Value members

Concrete methods

def check(query: String): Option[String]

Checks if the query is valid, if not returns an error string.

Checks if the query is valid, if not returns an error string.

Attributes

Parses the given string into a caliban.parsing.adt.Document object or returns a caliban.CalibanError.ParsingError if the string is not a valid GraphQL document.

Parses the given string into a caliban.parsing.adt.Document object or returns a caliban.CalibanError.ParsingError if the string is not a valid GraphQL document.

Attributes