2 ms·
> If an ID is required for all queries the docs should say so. they absolutely should. It's not really needed every time, but when you have a queries with IDs
by Capaj 7y ago
> If an ID is required for all queries the docs should say so.
they absolutely should. It's not really needed every time, but when you have a queries with IDs and without-that's when the cache blows up. They even a have a snapshot test for this unfortunate behavior: https://github.com/apollographql/apollo-client/blob/master/packages/apollo-cache-inmemory/src/__tests__/__snapshots__/writeToStore.ts.snap https://github.com/apollographql/apollo-client/blob/master/p...