-
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
Change custom resolver requires to a selection set #2922
Conversation
🦋 Changeset detectedLatest commit: ded2b68 The changes in this PR will be included in the next version bump. Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Performance ReportNo Performance Changes Show Full Table
Old Schema Generation: 28.985s |
darrellwarde
left a comment
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.
I would make some changes as we discussed, but a few additional comments below! 🙂
…nge-customResolver-requires-to-a-selection-set
Co-authored-by: Darrell Warde <[email protected]>
Co-authored-by: Darrell Warde <[email protected]>
darrellwarde
left a comment
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 looks much more on the right track, even if there is some duplication of functionality in parts! Just a couple of observations, but I think it's pretty much good to go.
darrellwarde
left a comment
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.
Sorry again about the back and forth, but I hope you agree this is a slightly tidier solution. However, we should have conversation about validation in general, as it may be worthy of a revisit!
Co-authored-by: Darrell Warde <[email protected]>
darrellwarde
left a comment
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 looks good - I think just this final change needs applying!
Description
Implements #2722 and makes the
requireargument of the@customResolverdirective accept a graphql selection set.Complexity
Complexity: Medium
Issue
Closes #2481