MCPcopy
hub / github.com/subquery/subql / resolve

Function resolve

packages/query/src/graphql/plugins/PgSearchPlugin.ts:21–26  ·  view source on GitHub ↗
(source, args, ctx, info)

Source from the content-addressed store, hash-verified

19 return {
20 ...field,
21 resolve(source, args, ctx, info) {
22 if (args.search !== undefined) {
23 args.search = parser.parse(args.search)?.toString();
24 }
25 return field.resolve?.(source, args, ctx, info);
26 },
27 };
28 }
29

Callers 12

runBundleFunction · 0.50
connectMethod · 0.50
WsJsonRpcClientClass · 0.50
onIdleMethod · 0.50
checkConditionFunction · 0.50
stopSyncMethod · 0.50
writeMethod · 0.50
shutdownMethod · 0.50
executeFunction · 0.50
apiConnectMethod · 0.50

Calls

no outgoing calls

Tested by 1

checkConditionFunction · 0.40