New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Defer execution 2024 #3421
Merged
andimarek
merged 54 commits into
graphql-java:master
from
felipe-gdr:defer-execution-2024
Feb 13, 2024
Merged
Defer execution 2024 #3421
Changes from all commits
Commits
Show all changes
54 commits
Select commit
Hold shift + click to select a range
7694618
WIP: Created execution result classes for incremental delivery
felipe-gdr-atlassian ae52efd
Merge branch 'defer-support-in-enf' into defer-support-execution
felipe-gdr-atlassian acb00a5
Merge branch 'defer-support-in-enf' into defer-support-execution
felipe-gdr-atlassian 7aa8c23
WIP
felipe-gdr-atlassian 10b0499
Merge branch 'defer-support-in-enf' into defer-support-execution
felipe-gdr-atlassian 0025495
WIP
felipe-gdr-atlassian b02efd8
Revert "WIP"
felipe-gdr-atlassian 691d138
Merge branch 'defer-support-in-enf' into defer-support-execution
felipe-gdr-atlassian cbd9b63
Fixes on IncrementalItem hierarchy
felipe-gdr-atlassian 40b7dfa
Merge branch 'master' into defer-support-execution
felipe-gdr-atlassian ceac689
Adjustments and plenty of Javadoc
felipe-gdr-atlassian a8f7906
Add unit test for sanity check
felipe-gdr-atlassian 6b52b02
Fix Javadoc
felipe-gdr-atlassian d13b509
Minor adjustment in test class
felipe-gdr-atlassian 291cfbf
Reverts both merge commits that deleted the old defer stuff.
felipe-gdr-atlassian c7088b1
Fix compilation errors
felipe-gdr-atlassian e86286e
WIP: hacky defer is working, some new tests for basic stuff, but a lo…
felipe-gdr-atlassian 36d0330
Fixed a race condition and added more tests
felipe-gdr-atlassian 348515d
Memoize field value resolution
felipe-gdr-atlassian ea9726a
Remove code
felipe-gdr-atlassian d03c8db
Remove unnecessary code and cover more edge cases
felipe-gdr-atlassian ca51dcb
Add more tests for DeferContext
felipe-gdr-atlassian 85ac363
Create IncrementalCall interface and add type abstraction
felipe-gdr-atlassian 1c60c37
Implement error handling in the defer execution code
felipe-gdr-atlassian 276c872
Add one more test case
felipe-gdr-atlassian a5aa0fd
Add test for defer in list items
felipe-gdr-atlassian f43849f
Remove unnecessary test code
felipe-gdr-atlassian 98554dc
Javadoc
felipe-gdr-atlassian ccb7e70
Refactor IncrementalUtils to remove duplicated code
felipe-gdr-atlassian e0540d9
WIP
felipe-gdr-atlassian f912440
Fix all unit tests and start cleaning up
felipe-gdr-atlassian 28d98d4
Simplify instrumentation code for deferred field execution
felipe-gdr-atlassian 8cc3d13
Merge branch 'master' into defer-execution-2024
felipe-gdr-atlassian 07bd477
Rename some things defer -> incremental
felipe-gdr-atlassian 934f88f
Remove code duplication
felipe-gdr-atlassian 52de911
Various small adjustments in preparation to send the PR for review
felipe-gdr-atlassian f1e03a6
Remove unused import
felipe-gdr-atlassian ef671d0
PR feedback
felipe-gdr-atlassian 32811eb
Merge branch 'master' into defer-execution-2024
felipe-gdr-atlassian c6d830c
Undo renaming to NormalizedDeferExecution: will be done in another PR
felipe-gdr-atlassian fe710a9
Undo refactoring around IncrementalNodes: will be done on future PR
felipe-gdr-atlassian 61ca8d1
Refactoring method to receive individual parameters instead of object
felipe-gdr-atlassian 864bf2e
Replace synchronized with runBlocked
felipe-gdr-atlassian 4db2122
Fix groovy syntax
felipe-gdr-atlassian 89e741d
Move gate mechanism from ExecutionInput to GraphQLContext
felipe-gdr-atlassian 5900e9c
Rename DelayedIncrementalExecutionResult -> DelayedIncrementalPartial…
felipe-gdr-atlassian 6fb8e74
(temporarily) Remove support for using Data loader to fetch deferred …
felipe-gdr-atlassian d87a6df
Rename DeferredCall -> DeferredFragmentCall
felipe-gdr-atlassian bfafd99
Move DeferredExecutionSupport into its own class file
felipe-gdr-atlassian e96eec5
Merge branch 'master' into defer-execution-2024
felipe-gdr-atlassian 00a1862
Adjustments after merging
felipe-gdr-atlassian a801d20
Move ENABLE_INCREMENTAL_SUPPORT to @ExperimentalApi
felipe-gdr-atlassian 99c5d0f
Remove unnecessary isEmpty check
felipe-gdr-atlassian b126baf
Add test with label having 'null' value
felipe-gdr-atlassian File filter
Filter by extension
Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -383,4 +383,4 @@ public ExecutionInput build() { | |
return new ExecutionInput(this); | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I had more time again I would make all Builder builders of T