MCPcopy
hub / github.com/TanStack/query / findAllMethodCalls

Function findAllMethodCalls

packages/query-codemods/src/utils/index.cjs:75–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

73 }
74
75 const findAllMethodCalls = () =>
76 root
77 // First, we need to find all method calls.
78 .find(jscodeshift.CallExpression, {
79 callee: {
80 type: jscodeshift.MemberExpression.name,
81 property: {
82 type: jscodeshift.Identifier.name,
83 },
84 },
85 })
86
87 const findQueryClientIdentifiers = (importIdentifiers) =>
88 root

Callers

nothing calls this directly

Calls 1

findMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…