-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Make the reason argument in @deprecated
non-nullable
#1040
base: main
Are you sure you want to change the base?
Make the reason argument in @deprecated
non-nullable
#1040
Conversation
✅ Deploy Preview for graphql-spec-draft ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Partially related PR in GraphQL JS graphql/graphql-js#4006 where the |
Can this be moved to RFC1 or do we need anything else? Planning to work on a graphql-js implementation for the next wg. |
Insufficiently precise review. I meant that I approve of the desire rather than approved the spec edits - oops.
Stage 1 entrance criteria:
I'll bump it now. |
From the meeting:
Other sections of the spec will need to be addressed too, for example: https://spec.graphql.org/draft/#sel-FAJXLDCAACECx6V should actually have two bangs? Looks like the |
I think it has to stay
Same! I find using optional for output positions is confusing. Proposal to change the wording to:
We could even go as far as "deprecating
|
100% correct, sorry if I implied otherwise - it was not my intent.
I added a comma, but yes looks good to me! (Follow the pattern of the surrounding text if you haven't already.)
I think we should leave |
👍 Makes a lot of sense. And thanks for the comma! Will dive a bit more into this in the upcoming month |
Follow up from #53 (comment)
Make
reason
non-nullable:This is technically a breaking change for someone that does this:
But feels like this shouldn't be allowed in the first place?
Fixes #53