-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This PR makes [THIS ISSUE](#279) a lot less likely to occur. The local name "data" in generated functions was colliding with arguments called "data". Note that no explicit name collision check was added, but "data" inside the function was just renamed to "data_" to make it less likely to collide with arguments. --------- Co-authored-by: Ben Kraft <[email protected]>
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
mutation MutationArgsWithCollidingNames($data: String!, $req: Int, $resp: Int, $client: String) { | ||
updateUser(data: $data, req: $req, resp: $resp, client: $client) { | ||
id | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.