Skip to content

Commit 23fe1f4

Browse files
committed
remove public execute apis
1 parent dcd493f commit 23fe1f4

File tree

1 file changed

+0
-27
lines changed

1 file changed

+0
-27
lines changed

src/data-connect/data-connect.ts

Lines changed: 0 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -103,33 +103,6 @@ export class DataConnect {
103103
}
104104

105105
/**
106-
* Executes a pre-defined GraphQL query with impersonation.
107-
*
108-
* The query must be defined in your Data Connect GraphQL files.
109-
*
110-
* @param options - The GraphQL options, must include operationName and impersonation details.
111-
* @returns A promise that fulfills with the GraphQL response.
112-
*/
113-
public async executeQuery<GraphqlResponse, Variables>(
114-
options: GraphqlOptions<Variables>
115-
): Promise<ExecuteGraphqlResponse<GraphqlResponse>> {
116-
return this.client.executeQuery(options);
117-
}
118-
119-
/**
120-
* Executes a pre-defined GraphQL mutation with impersonation.
121-
*
122-
* The mutation must be defined in your Data Connect GQL files.
123-
*
124-
* @param options - The GraphQL options, must include operationName and impersonation details.
125-
* @returns A promise that fulfills with the GraphQL response.
126-
*/
127-
public async executeMutation<GraphqlResponse, Variables>(
128-
options: GraphqlOptions<Variables>
129-
): Promise<ExecuteGraphqlResponse<GraphqlResponse>> {
130-
return this.client.executeMutation(options);
131-
}
132-
133106
/**
134107
* Insert a single row into the specified table.
135108
*

0 commit comments

Comments
 (0)