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
@@ -55,7 +55,7 @@ type __InputEnumQueryInput struct {
|
||||
func (v *__InputEnumQueryInput) GetRole() Role { return v.Role }
|
||||
|
||||
// The query or mutation executed by InputEnumQuery.
|
||||
const InputEnumQueryOperation = `
|
||||
const InputEnumQuery_Operation = `
|
||||
query InputEnumQuery ($role: Role!) {
|
||||
usersWithRole(role: $role) {
|
||||
id
|
||||
@@ -69,7 +69,7 @@ func InputEnumQuery(
|
||||
) (*InputEnumQueryResponse, error) {
|
||||
req := &graphql.Request{
|
||||
OpName: "InputEnumQuery",
|
||||
Query: InputEnumQueryOperation,
|
||||
Query: InputEnumQuery_Operation,
|
||||
Variables: &__InputEnumQueryInput{
|
||||
Role: role,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user