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
@@ -175,7 +175,7 @@ func (v *__CustomMarshalInput) __premarshalJSON() (*__premarshal__CustomMarshalI
|
||||
}
|
||||
|
||||
// The query or mutation executed by CustomMarshal.
|
||||
const CustomMarshalOperation = `
|
||||
const CustomMarshal_Operation = `
|
||||
query CustomMarshal ($date: Date!) {
|
||||
usersBornOn(date: $date) {
|
||||
id
|
||||
@@ -190,7 +190,7 @@ func CustomMarshal(
|
||||
) (*CustomMarshalResponse, error) {
|
||||
req := &graphql.Request{
|
||||
OpName: "CustomMarshal",
|
||||
Query: CustomMarshalOperation,
|
||||
Query: CustomMarshal_Operation,
|
||||
Variables: &__CustomMarshalInput{
|
||||
Date: date,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user