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
@@ -547,7 +547,7 @@ type VideoFieldsThumbnail struct {
|
||||
func (v *VideoFieldsThumbnail) GetId() testutil.ID { return v.Id }
|
||||
|
||||
// The query or mutation executed by SimpleNamedFragment.
|
||||
const SimpleNamedFragmentOperation = `
|
||||
const SimpleNamedFragment_Operation = `
|
||||
query SimpleNamedFragment {
|
||||
randomItem {
|
||||
__typename
|
||||
@@ -576,7 +576,7 @@ func SimpleNamedFragment(
|
||||
) (*SimpleNamedFragmentResponse, error) {
|
||||
req := &graphql.Request{
|
||||
OpName: "SimpleNamedFragment",
|
||||
Query: SimpleNamedFragmentOperation,
|
||||
Query: SimpleNamedFragment_Operation,
|
||||
}
|
||||
var err error
|
||||
|
||||
|
||||
Reference in New Issue
Block a user