Skip to content

Commit 2bbae47

Browse files
committed
export additional helpers
1 parent 6b5bddb commit 2bbae47

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/execution/execute.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ export function execute(
210210
/**
211211
* Implements the "Executing operations" section of the spec.
212212
*/
213-
function executeOperation(
213+
export function executeOperation(
214214
exeInfo: ExecutionInfo,
215215
): PromiseOrValue<
216216
ExecutionResult | AsyncGenerator<ExecutionResult, void, void>
@@ -234,7 +234,7 @@ export function executeQuery(
234234
return executeQueryOrMutation(exeInfo, { errors: [] }, executeFields);
235235
}
236236

237-
function executeMutation(
237+
export function executeMutation(
238238
exeInfo: ExecutionInfo,
239239
): PromiseOrValue<ExecutionResult> {
240240
return executeQueryOrMutation(exeInfo, { errors: [] }, executeFieldsSerially);
@@ -1211,7 +1211,7 @@ export const defaultFieldResolver: GraphQLFieldResolver<unknown, unknown> =
12111211
* If the operation succeeded, the promise resolves to an AsyncIterator, which
12121212
* yields a stream of ExecutionResults representing the response stream.
12131213
*/
1214-
function executeSubscription(
1214+
export function executeSubscription(
12151215
exeInfo: ExecutionInfo,
12161216
): PromiseOrValue<
12171217
ExecutionResult | AsyncGenerator<ExecutionResult, void, void>

0 commit comments

Comments
 (0)