Skip to content

Conversation

@Alex079
Copy link

@Alex079 Alex079 commented Apr 8, 2022

This PR is an attempt to solve a problem described here
graphql-java/java-dataloader#54

The general idea is that data loader registry can return a completable future as a result of public CompletableFuture<Integer> dispatch() call. This future can be used by graphql-java to reliably identify level fetching completion.

The current change is using the code from this PR in data loader library: graphql-java/java-dataloader#111

alex079 and others added 5 commits April 2, 2022 16:24
Key points:
graphql.execution.AsyncExecutionStrategy.execute - combine execution result with fields value hook completion
graphql.execution.instrumentation.dataloader.FieldLevelTrackingApproach.dispatch - return completable future
Key points:
graphql.execution.ExecutionStrategy.fetchField - combine execution result with fields value hook completion
@bbakerman
Copy link
Member

Closing because its old and in conlfict

@bbakerman bbakerman closed this Aug 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants