-
Notifications
You must be signed in to change notification settings - Fork 162
Change custom resolver requires to a selection set #2922
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
Merged
Liam-Doodson
merged 29 commits into
neo4j:4.0.0
from
Liam-Doodson:change-customResolver-requires-to-a-selection-set
Feb 28, 2023
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
75388d4
Docs update
Liam-Doodson c0bdf5c
Parse selection sets
Liam-Doodson 66d2e38
Bugfix
Liam-Doodson ca21dfa
UT fix
Liam-Doodson 8023b0c
UT fix
Liam-Doodson 8332223
UT fix
Liam-Doodson 57f7e53
UT fix
Liam-Doodson 9f9de8d
Updated int tests
Liam-Doodson f6bf93f
TCK tests
Liam-Doodson 7743399
Changeset
Liam-Doodson 1b8c7a7
Bugfix
Liam-Doodson ea1a7a6
Merge branch '4.0.0' into change-customResolver-requires-to-a-selecti…
Liam-Doodson fe71ce5
Merge fix
Liam-Doodson 1fb6318
Test fixes
Liam-Doodson cba95a8
More test fixes
Liam-Doodson a62ddea
Removed baseSchema
Liam-Doodson a09aecf
Re-added validation for customResolver requires
Liam-Doodson d62b745
Moved validation to within validate document
Liam-Doodson 0dc87b1
Merge branch 'move-requires-validation-to-validate-document' into cha…
Liam-Doodson cac7597
Apply docs suggestions from code review
Liam-Doodson ff2c175
Update packages/graphql/src/schema/get-custom-resolver-meta.ts
Liam-Doodson bfa890f
Merge branch '4.0.0' into change-customResolver-requires-to-a-selecti…
Liam-Doodson 723a084
Docs update
Liam-Doodson 3c894fe
Bugfix
Liam-Doodson c5a5127
Custom SelectionSet scalar
Liam-Doodson c0ae612
Removed check for removed directive
Liam-Doodson 409d5f3
PR comments
Liam-Doodson 7462df8
Apply suggestions from code review
Liam-Doodson ded2b68
PR comments
Liam-Doodson 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| --- | ||
| "@neo4j/graphql": major | ||
| --- | ||
|
|
||
| The `requires` argument of the `@customResolver` directive now accepts a graphql selection set. This means it is now possible to require non-scalar fields such as related types. |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Uh oh!
There was an error while loading. Please reload this page.