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
@@ -34,7 +34,7 @@ type SimpleQueryUser struct {
|
||||
func (v *SimpleQueryUser) GetId() testutil.ID { return v.Id }
|
||||
|
||||
// The query or mutation executed by SimpleQuery.
|
||||
const SimpleQueryOperation = `
|
||||
const SimpleQuery_Operation = `
|
||||
query SimpleQuery {
|
||||
user {
|
||||
id
|
||||
@@ -47,7 +47,7 @@ func SimpleQuery(
|
||||
) (*SimpleQueryResponse, error) {
|
||||
req := &graphql.Request{
|
||||
OpName: "SimpleQuery",
|
||||
Query: SimpleQueryOperation,
|
||||
Query: SimpleQuery_Operation,
|
||||
}
|
||||
var err error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user