Rename the query constant to have an underscore in it. (#241)
We got reports of conflicts with the old constant-name and symbols that people were defining in their app.
This commit is contained in:
+2
-2
@@ -41,7 +41,7 @@ func (v *QueryWithAliasUser) GetID() testutil.ID { return v.ID }
|
||||
func (v *QueryWithAliasUser) GetOtherID() testutil.ID { return v.OtherID }
|
||||
|
||||
// The query or mutation executed by QueryWithAlias.
|
||||
const QueryWithAliasOperation = `
|
||||
const QueryWithAlias_Operation = `
|
||||
query QueryWithAlias {
|
||||
User: user {
|
||||
ID: id
|
||||
@@ -55,7 +55,7 @@ func QueryWithAlias(
|
||||
) (*QueryWithAliasResponse, error) {
|
||||
req := &graphql.Request{
|
||||
OpName: "QueryWithAlias",
|
||||
Query: QueryWithAliasOperation,
|
||||
Query: QueryWithAlias_Operation,
|
||||
}
|
||||
var err error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user