-
Notifications
You must be signed in to change notification settings - Fork 32
An update that does not request any fields fails #174
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
Comments
Huh, interesting. I think you’re right, but can you point to relevant bit
of the spec? Will make it easier to fix.
…On Thu, 1 Mar 2018 at 04:07, Harendra Kumar ***@***.***> wrote:
A pure update that does not request any fields in the results must be
allowed. The following query fails to parse:
{SetResource(id:"1",resource:{resAge:20,resGender:"m"}){}}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#174>, or mute the
thread
<https://github.com/notifications/unsubscribe-auth/AAHq6rYEf9D1fB2LQ7liOSttdhG3bZGRks5tZ2YCgaJpZM4SXsOF>
.
|
I did not look at the spec. I just thought it makes sense and assumed it. I will update if I happen to take a look at the spec. |
yeah, I was confused whether to use |
AFAICT, the GraphQL spec does not prohibit empty selection sets, so this is a valid bug. However, it also does not say how to handle them, so fixing involves some decision making. Things that you or someone else can do to help fix this bug:
|
A pure update that does not request any fields in the results must be allowed. The following query fails to parse:
The text was updated successfully, but these errors were encountered: