c

apollo_boost

DefaultClient

class DefaultClient extends ApolloClient

This client has a slightly different config than the base ApolloClient. Most imports import this as ApolloClient which is confusing.

Annotations
@JSType() @native() @JSImport("apollo-boost", JSImport.Default)
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DefaultClient
  2. ApolloClient
  3. DataProxy
  4. Object
  5. Any
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new DefaultClient(config: UndefOr[PresetConfig[_]] = js.undefined)

Value Members

  1. def hasOwnProperty(v: String): Boolean
    Definition Classes
    Object
  2. def isPrototypeOf(v: Object): Boolean
    Definition Classes
    Object
  3. def mutate[T, TVars <: Object](options: MutationOptions[T, TVars]): Promise[FetchResult[T]]
    Definition Classes
    ApolloClient
  4. def propertyIsEnumerable(v: String): Boolean
    Definition Classes
    Object
  5. def query[T, TVars <: Object](options: QueryOptions[TVars]): Promise[ApolloQueryResult[T]]
    Definition Classes
    ApolloClient
  6. def readFragment[TVars <: Object, FragmentType <: Object](options: Fragment[TVars], optimistic: UndefOr[Boolean] = js.undefined): |[FragmentType, Null]
    Definition Classes
    ApolloClientDataProxy
  7. def readQuery[QueryType <: Object, TVars <: Object](options: Query[TVars], optimistic: UndefOr[Boolean] = js.undefined): |[QueryType, Null]
    Definition Classes
    ApolloClientDataProxy
  8. def stop(): Unit
    Definition Classes
    ApolloClient
  9. def toLocaleString(): String
    Definition Classes
    Object
  10. def valueOf(): Any
    Definition Classes
    Object
  11. def writeData[T](options: WriteDataOptions[T]): Unit
    Definition Classes
    ApolloClientDataProxy
  12. def writeFragment[T, TVars <: Object](options: WriteFragmentOptions[T, TVars]): Unit
    Definition Classes
    ApolloClientDataProxy
  13. def writeQuery[T, TVars <: Object](options: WriteQueryOptions[T, TVars]): Unit
    Definition Classes
    ApolloClientDataProxy