-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Rename Relay.Mutation#getVariables? #711
Comments
|
Thanks for filing this issue @clayallsopp! There is some reasoning behind this: mostly, consistency with the "variables" terminology used in the This is important, so I'm going to fold it into #538, which is about overhauling the mutations API. (It will be easier to manage with the various interrelated mutations issues in a single place.) Lots of details in the API are expected to change, so that is probably the best place to consider this. |
Should Relay.Mutation#getVariables be named something like
getInput
? Or something else that explicitly ties it to constructing the input argument?My understanding and reading the docs suggests that the method is only ever used to in context with the input - in fact there's even a warning in the docs that tries to mitigate naming confusion.
The text was updated successfully, but these errors were encountered: