MCPcopy Create free account
hub / github.com/urql-graphql/urql / executeQuery

Function executeQuery

packages/solid-urql/src/createQuery.ts:310–322  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308 });
309
310 const executeQuery: CreateQueryExecute = opts => {
311 const request = createRequest(args.query, getVariables() as any);
312 const context: Partial<OperationContext> = {
313 requestPolicy: getRequestPolicy(),
314 ...getContext(),
315 ...opts,
316 };
317
318 setSource(() => client.executeQuery(request, context));
319 if (isSuspense()) {
320 refetch();
321 }
322 };
323
324 const handler = {
325 get(

Callers

nothing calls this directly

Calls 3

createRequestFunction · 0.90
executeQueryMethod · 0.65
isSuspenseFunction · 0.50

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…