MCPcopy Create free account
hub / github.com/firebase/firebase-tools / executeGraphQL

Function executeGraphQL

src/dataconnect/dataplaneClient.ts:15–25  ·  view source on GitHub ↗
(
  client: Client,
  servicePath: string,
  body: types.ExecuteGraphqlRequest,
)

Source from the content-addressed store, hash-verified

13 });
14}
15export async function executeGraphQL(
16 client: Client,
17 servicePath: string,
18 body: types.ExecuteGraphqlRequest,
19): Promise<ClientResponse<types.GraphqlResponse | types.GraphqlResponseError>> {
20 const res = await client.post<
21 types.ExecuteGraphqlRequest,
22 types.GraphqlResponse | types.GraphqlResponseError
23 >(`${servicePath}:executeGraphql`, body, { resolveOnHTTPError: true });
24 return res;
25}
26
27export async function executeGraphQLRead(
28 client: Client,

Callers 4

executeGraphQLMethod · 0.90
execute.tsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…