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
@@ -425,7 +425,7 @@ type VideoFields struct {
|
||||
func (v *VideoFields) GetDuration() int { return v.Duration }
|
||||
|
||||
// The query or mutation executed by StructOption.
|
||||
const StructOptionOperation = `
|
||||
const StructOption_Operation = `
|
||||
query StructOption {
|
||||
root {
|
||||
id
|
||||
@@ -460,7 +460,7 @@ func StructOption(
|
||||
) (*StructOptionResponse, error) {
|
||||
req := &graphql.Request{
|
||||
OpName: "StructOption",
|
||||
Query: StructOptionOperation,
|
||||
Query: StructOption_Operation,
|
||||
}
|
||||
var err error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user