Skip to content

Commit

Permalink
Remove query.ResponseName() from query_rewriter.go
Browse files Browse the repository at this point in the history
  • Loading branch information
vmrajas committed Nov 27, 2020
1 parent 5aa08a9 commit 898c2f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphql/resolve/query_rewriter.go
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ func rewriteAsGet(
}

if !implementingTypesHasFailedRules {
return &gql.GraphQuery{Attr: query.ResponseName() + "()"}
return &gql.GraphQuery{Attr: query.Name() + "()"}
}
}

Expand Down

0 comments on commit 898c2f4

Please sign in to comment.