Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
1
import
{ from } from
'rxjs'
;
2
import
{ take, toArray, map } from
'rxjs/operators'
;
3
import
{ assign, cloneDeep } from
'lodash'
;
4
import
{ addTypenameToDocument } from
'apollo-utilities'
;
Callers
nothing calls this directly
Calls
15
stripSymbols
Function · 0.90
mockSingleLink
Function · 0.90
addTypenameToDocument
Function · 0.90
assign
Function · 0.85
cloneDeep
Function · 0.85
realIdValue
Function · 0.85
checkBothMutationsAreApplied
Function · 0.85
subscribe
Method · 0.80
setup
Function · 0.70
get
Method · 0.65
readQuery
Method · 0.65
readFragment
Method · 0.65
Tested by
no test coverage detected