interface DeepClientResult<R> {
    data: R;
    error?: any;
    errors?: readonly GraphQLError[];
    loading: boolean;
    networkStatus: NetworkStatus;
    partial?: boolean;
    subscribe?: ((observer: Observer<any>) => Subscription);
}

Type Parameters

  • R

Hierarchy

  • ApolloQueryResult<R>
    • DeepClientResult

Properties

data: R
error?: any

The single Error object that is passed to onError and useQuery hooks, and is often thrown during manual client.query calls. This will contain both a NetworkError field and any GraphQLErrors. See https://www.apollographql.com/docs/react/data/error-handling/ for more information.

errors?: readonly GraphQLError[]

A list of any errors that occurred during server-side execution of a GraphQL operation. See https://www.apollographql.com/docs/react/data/error-handling/ for more information.

loading: boolean
networkStatus: NetworkStatus
partial?: boolean
subscribe?: ((observer: Observer<any>) => Subscription)