View Source Lightning.ApolloClient (Lightning v2.12.2)

Client for communicating with the Apollo service.

Summary

Types

@type context() :: %{expression: String.t(), adaptor: String.t()} | %{}

Functions

Link to this function

query(content, context \\ %{}, history \\ [], meta \\ %{})

View Source
@spec query(String.t(), context(), list(), map()) :: Tesla.Env.result()
@spec test() :: :ok | :error

Checks if the Apollo endpoint is available.