-
I have a case where my derived state depends on a query to the server. I realize that `cache.readQuery` only reads from the cache so if I haven't already run the `projQuery` I won't get anything back.…
-
Mutations are run after one another. If I switch to offline mode, then run a network mutation and then run a local mutation, the local mutation isn't run until I switch back to online mode.
This wo…
-
using apollo-link-ws i need to requery if the web socket reconnects - because data on the server might have changed.
atm I am dong it using redux however I am wondering if there is/should be a buil…
-
**Intended outcome:**
Type Policies for local state fields added through `addTypePolicies` at render/mount of component should allow for querying of those fields from that point on.
**Actual out…
-
Hi all,
I'm new to Apollo, currently setting up my first project with a REST endpoint (as GraphQL isn't available at present)
Initially, I set this up with a GraphQL endpoint as a test, with S…
-
Hi Team,
We are new to GraphQL and we built couple of GraphQl Services using Netflix DGS.
Now we would like to federate those services into single endpoint and started working on it by cloning t…
-
### Current Behavior
When button have animation, and we are disabling a button, it throws an error:
`ERROR Error: Too many re-renders. React limits the number of renders to prevent an infinite lo…
-
```gql
query ErrorTemplate {
people {
id
name
}
}
```
works.
```gql
query ErrorTemplate {
people {
id
name
}
foo @client
}
```
`people` becomes `undef…
-
Using Jest and React-Testing-Library for testing.
**Intended outcome:**
useQuery should return data from cache and not have to go through loading state in mocks. (Much like how it is in browser)…
-
https://www.apollographql.com/docs/apollo-server/features/unions-interfaces.html
this seems to not work at all on local state.
I have this snippet which resolves the correct type depending on th…