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:
Vendored
+2
-2
@@ -42,7 +42,7 @@ func (v *QueryWithSlicesUser) GetEmailsWithNulls() []string { return v.EmailsWit
|
||||
func (v *QueryWithSlicesUser) GetEmailsWithNullsOrNull() []string { return v.EmailsWithNullsOrNull }
|
||||
|
||||
// The query or mutation executed by QueryWithSlices.
|
||||
const QueryWithSlicesOperation = `
|
||||
const QueryWithSlices_Operation = `
|
||||
query QueryWithSlices {
|
||||
user {
|
||||
emails
|
||||
@@ -58,7 +58,7 @@ func QueryWithSlices(
|
||||
) (*QueryWithSlicesResponse, error) {
|
||||
req := &graphql.Request{
|
||||
OpName: "QueryWithSlices",
|
||||
Query: QueryWithSlicesOperation,
|
||||
Query: QueryWithSlices_Operation,
|
||||
}
|
||||
var err error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user