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:
Craig Silverstein
2022-11-22 14:12:38 -08:00
committed by GitHub
parent 587f77046b
commit e3227388fe
57 changed files with 148 additions and 148 deletions
@@ -63,7 +63,7 @@ const (
)
// The query or mutation executed by QueryWithEnums.
const QueryWithEnumsOperation = `
const QueryWithEnums_Operation = `
query QueryWithEnums {
user {
roles
@@ -79,7 +79,7 @@ func QueryWithEnums(
) (*QueryWithEnumsResponse, error) {
req := &graphql.Request{
OpName: "QueryWithEnums",
Query: QueryWithEnumsOperation,
Query: QueryWithEnums_Operation,
}
var err error