Options
All
  • Public
  • Public/Protected
  • All
Menu

Local graph client. Returns empty result set or throws an exception on all calls. GraphQL is not presently supported in Local SDM.

Hierarchy

  • LocalGraphClient

Implements

  • GraphClient

Index

Constructors

constructor

Properties

endpoint

endpoint: string

Private showErrorStacks

showErrorStacks: boolean

Methods

executeMutation

  • executeMutation<T, Q>(mutation: string, variables?: Q, options?: any): Promise<T>

executeMutationFromFile

  • executeMutationFromFile<T, Q>(path: string, variables?: Q, options?: any, current?: string): Promise<T>

executeQuery

  • executeQuery<T, Q>(query: string, variables?: Q, options?: any): Promise<T>

executeQueryFromFile

  • executeQueryFromFile<T, Q>(path: string, variables?: Q, options?: any, current?: string): Promise<T>

mutate

  • mutate<T, Q>(optionsOrName: MutationOptions<Q> | string): Promise<T>

query

  • query<T, Q>(optionsOrName: QueryOptions<Q> | string): Promise<T>

Generated using TypeDoc