apollographql/apollo-client
Copy this badge! ↑
ApolloClient
constructor
will throw an error if cache is not passed in
ApolloClient.ts
ApolloClient
constructor
should create an `HttpLink` instance if `uri` is provided
ApolloClient.ts
ApolloClient
constructor
should accept `link` over `uri` if both are provided
ApolloClient.ts
ApolloClient
constructor
should create an empty Link if `uri` and `link` are not provided
ApolloClient.ts
ApolloClient
readQuery
will read some data from the store
ApolloClient.ts
ApolloClient
readQuery
will read some deeply nested data from the store
ApolloClient.ts
ApolloClient
readQuery
will read some data from the store with variables
ApolloClient.ts
ApolloClient
readQuery
will read some data from the store with default values
ApolloClient.ts
ApolloClient
readFragment
will throw an error when there is no fragment
ApolloClient.ts
ApolloClient
readFragment
will throw an error when there is more than one fragment but no fragment name
ApolloClient.ts
ApolloClient
readFragment
will read some deeply nested data from the store at any id
ApolloClient.ts
ApolloClient
readFragment
will read some data from the store with variables
ApolloClient.ts
ApolloClient
readFragment
will return null when an id that can’t be found is provided
ApolloClient.ts
ApolloClient
writeQuery
will write some data to the store
ApolloClient.ts
ApolloClient
writeQuery
will write some deeply nested data to the store
ApolloClient.ts
ApolloClient
writeQuery
will write some data to the store with variables
ApolloClient.ts
ApolloClient
writeQuery
will write some data to the store with default values for variables
ApolloClient.ts
ApolloClient
writeFragment
will throw an error when there is no fragment
ApolloClient.ts
ApolloClient
writeFragment
will throw an error when there is more than one fragment but no fragment name
ApolloClient.ts
ApolloClient
writeFragment
will write some deeply nested data into the store at any id
ApolloClient.ts
ApolloClient
writeFragment
will write some data to the store with variables
ApolloClient.ts
ApolloClient
writeFragment
change will call observable next
using writeQuery
with TypedDocumentNode
ApolloClient.ts
ApolloClient
write then read
will write data locally which will then be read back
ApolloClient.ts
ApolloClient
write then read
will write data to a specific id
ApolloClient.ts
ApolloClient
write then read
will not use a default id getter if __typename is not present
ApolloClient.ts
ApolloClient
write then read
will not use a default id getter if id and _id are not present
ApolloClient.ts
ApolloClient
write then read
will use a default id getter if __typename and id are present
ApolloClient.ts
ApolloClient
write then read
will use a default id getter if __typename and _id are present
ApolloClient.ts
ApolloClient
write then read
will not use a default id getter if id is present and __typename is not present
ApolloClient.ts
ApolloClient
write then read
will not use a default id getter if _id is present but __typename is not present
ApolloClient.ts
ApolloClient
write then read
will not use a default id getter if either _id or id is present when __typename is not also present
ApolloClient.ts
ApolloClient
write then read
will use a default id getter if one is not specified and __typename is present along with either _id or id
ApolloClient.ts
ApolloClient
defaultOptions
should set `defaultOptions` using options passed into the constructor
ApolloClient.ts
ApolloClient
defaultOptions
should use default options (unless overridden) when querying
ApolloClient.ts
ApolloClient
defaultOptions
should be able to set all default query options
ApolloClient.ts
ApolloClient
clearStore
should remove all data from the store
ApolloClient.ts
ApolloClient
setLink
should override default link with newly set link
ApolloClient.ts
client
can be loaded via require
client.ts
client
can allow passing in a link
client.ts
client
should throw an error if query option is missing or not wrapped with a "gql" tag
client.ts
client
should throw an error if mutation option is missing
client.ts
client
should not warn when receiving multiple results from apollo-link network interface
client.ts
client
should send operationName along with the query to the server
client.ts
client
should send operationName along with the mutation to the server
client.ts
client
deduplicates queries if query context.queryDeduplication is set to true
client.ts
client
does not deduplicate queries if query context.queryDeduplication is set to false
client.ts
client
deprecated options
errors when returnPartialData is used on query
client.ts
client
deprecated options
errors when returnPartialData is used on watchQuery
client.ts
client
cache-and-network fetchPolicy
warns when used with client.query
client.ts
client
cache-and-network fetchPolicy
warns when used with client.query with defaultOptions
client.ts
Load More