-
Notifications
You must be signed in to change notification settings - Fork 59
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
feature: Generated models support the @defer
directive
#31
Merged
Merged
Changes from 21 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
0a4e0db
Added supporting changes for deferred fragments
calvincestari 3b6543a
Add tests to validate deferred inline fragment
calvincestari f14ee8b
Add tests to validate deferred named fragment
calvincestari 123d98a
Another test
calvincestari 83dba17
Add nested deferred inline fragment test
calvincestari 0cc1391
Label is no longer required for named fragments
calvincestari 14ba7d3
Added documentation
calvincestari d4afea7
Update Tests/ApolloCodegenTests/CodeGeneration/Templates/SelectionSet…
calvincestari ec4643a
Update Tests/ApolloCodegenTests/CodeGeneration/Templates/SelectionSet…
calvincestari 0e7c48b
Fixed tests
calvincestari 1df8903
Remove isDeferred from ScopeCondition
calvincestari 57f5b0b
Add deferred collection to ScopeDescriptor
calvincestari 42d5191
Fix test mocks
calvincestari ff9d579
Update operation template for deferred property
calvincestari 1adb93d
Refactor for deferred named fragment spreads
calvincestari 9b1808d
Combine deferred properties of IR built named fragments into operation
calvincestari 9e7416e
Refactor scope descriptor evaluation
calvincestari 7bc5f32
Add inline documentation
calvincestari d8c4ad8
Remove selection set template defer tests
calvincestari 14559fd
Updated JS frontend bundle
calvincestari 2faef51
Update graphql-js parsing response matchers
calvincestari df3e425
Add RootFieldBuilder tests
calvincestari eb9ffea
Fix compilation result for string arguments
calvincestari File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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
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
2 changes: 1 addition & 1 deletion
2
apollo-ios-codegen/Sources/GraphQLCompiler/ApolloCodegenFrontendBundle.swift
Large diffs are not rendered by default.
Oops, something went wrong.
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.
This is due to the move from graphql-js 16 to 17.