t

react_apollo

ApolloClientOptionsMaker

trait ApolloClientOptionsMaker[T, TVars <: Object] extends AnyRef

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ApolloClientOptionsMaker
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def makeClientOptions(query: DocumentNode, variables: UndefOr[TVars] = js.undefined, unsafeVariables: UndefOr[Dynamic] = js.undefined, errorPolicy: UndefOr[ErrorPolicy] = js.undefined, context: UndefOr[Object] = js.undefined, fetchResults: UndefOr[Boolean] = js.undefined, metadata: UndefOr[Object] = js.undefined, fetchPolicy: UndefOr[FetchPolicy] = js.undefined): QueryOptions[TVars]

    Make apollo_client.QueryOptions for the ApolloClient returned from useQuery which are slightly different than QueryHookOptions used in the hook! This primarily exists so we can get a js.Promise to throw an exception to the suspense mechanism.