MCPcopy
hub / github.com/apollographql/apollo-client / optimistic.ts

File optimistic.ts

packages/apollo-client/src/__tests__/optimistic.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { from } from 'rxjs';
2import { take, toArray, map } from 'rxjs/operators';
3import { assign, cloneDeep } from 'lodash';
4import { addTypenameToDocument } from 'apollo-utilities';

Callers

nothing calls this directly

Calls 15

stripSymbolsFunction · 0.90
mockSingleLinkFunction · 0.90
addTypenameToDocumentFunction · 0.90
assignFunction · 0.85
cloneDeepFunction · 0.85
realIdValueFunction · 0.85
subscribeMethod · 0.80
setupFunction · 0.70
getMethod · 0.65
readQueryMethod · 0.65
readFragmentMethod · 0.65

Tested by

no test coverage detected