-
Notifications
You must be signed in to change notification settings - Fork 328
Open
Labels
status: waiting-for-triageAn issue we've not yet triagedAn issue we've not yet triaged
Description
Hello,
We were wondering whether it’s possible to define an execution strategy (or anything else) that would run the data fetchers for each new message in the subscription flux within a transaction, similar to the following code, which handles this for queries and mutations :
public class TransactionalAsyncExecutionStrategy extends AsyncExecutionStrategy {
public TransactionalAsyncExecutionStrategy(
final DataFetcherExceptionHandler handler
) {
super(handler);
}
@Override
@Transactional
public CompletableFuture<ExecutionResult> execute(
final ExecutionContext executionContext,
final ExecutionStrategyParameters parameters
) throws NonNullableFieldWasNullException {
return super.execute(executionContext, parameters);
}
}How can we cover this case ?
Thank you by advance
Another sources:
Nexyll and viico
Metadata
Metadata
Assignees
Labels
status: waiting-for-triageAn issue we've not yet triagedAn issue we've not yet triaged