Conversation
✅ Deploy Preview for compassionate-pike-271cb3 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
Hi @JoviDeCroock, I'm @github-actions bot happy to help you with this PR 👋 Supported commandsPlease post this commands in separate comments and only one per comment:
|
08a6f22 to
13a2d6d
Compare
|
It looks like calls to |
13a2d6d to
70e4f4d
Compare
|
@yaacovCR added it for enums/scalars, just need to add tests now |
4e16ae3 to
d96813e
Compare
yaacovCR
left a comment
There was a problem hiding this comment.
I think this has been a much-requested feature! Amazing! Left some comments in terms of some suggestions, basically I am hopeful that we can make this non-breaking in terms of function signatures, even though of course it's going in v17, so we could break things if we need to.
ac076da to
3d46cac
Compare
Or |
|
I added some thoughts in #4219 |
44b356c to
ff2087d
Compare
7d9166f to
d6af6ea
Compare
d6af6ea to
10475bb
Compare
9948855 to
00a01cf
Compare
Resolves #4190
Resolves #2247
Supersedes #3467
This is a best practice already in production however GraphQL JS does not provide an out of the box solution. In the community we have solutions like https://escape.tech/graphql-armor/docs/plugins/block-field-suggestions/ however in v17 it would be worth considering providing a built-in.
The recommendation here would be to do
validate(schema, doc, rules, { hideSuggestions: process.env.NODE_ENV === 'production' })