-
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
Clarify "response key" vs "response name" #1144
Comments
+1. My personal preference goes to |
Actually given GraphQL.js uses responseName we should just go with that. Editing #1147 |
I would argue for response key over response name. It is the clearer word for what aliases cause in the overall response: the key in the map of the result is changed. We already have field names and then response names is to close to each other imho. |
Both terms are used in the spec and it appears that they are the same thing.
Consistency would be appreciated. Or, if they are different, please add a definition for response name.
I see some implementations use "response name" and others use "response key". In the graphql-js codebase, only
responseName
is used.The text was updated successfully, but these errors were encountered: