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.
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
Query level nullability review and drafting thread #1
Query level nullability review and drafting thread #1
Changes from 9 commits
53c3d6e
ff04f2d
b823d7c
20aa350
7f12742
acf4d00
486b23f
37d78b3
438bcac
b625197
4829dfd
70762e3
1bc2272
f859034
ad40331
c9a925d
7871906
c6723ce
2e31037
c7764d5
1c20e26
e9cb076
7255a8d
254fd85
3bd4f32
96d0bee
e3b91d1
e0a572b
4aab23b
3c45346
d891d96
54a06eb
e6fc0ed
550ffeb
8515128
c60e590
e1e363a
5d5a519
6e54093
6d5d16c
458ee4e
e32b1f2
b265238
da52795
27069c9
844248c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
TODO: Flesh this out with things about versioning, breaking changes, and the impact it has on partial results
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.
@wxue Do you remember why we didn't want this?
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 think we should remove this as an alternative, I don't think we understand it well enough to vouch for it
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.
Defaults can be quite useful from a resilience standpoint. It is relevant to this proposal in that the
!
syntax would't be as amenable to specifying a default, whereas a directive (e.g.@nonNull(default: false)
) would open us up to that.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.
Though replacing
!
with! = “default”
like in variable defaults could work. This would either have to be evaluated client side (like in Relay) or the same default would have to apply to all references at the same location (whether from fragments or directly).