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
@@ -72,7 +72,7 @@ type __GetPokemonSiblingsInput struct {
|
||||
func (v *__GetPokemonSiblingsInput) GetInput() testutil.Pokemon { return v.Input }
|
||||
|
||||
// The query or mutation executed by GetPokemonSiblings.
|
||||
const GetPokemonSiblingsOperation = `
|
||||
const GetPokemonSiblings_Operation = `
|
||||
query GetPokemonSiblings ($input: PokemonInput!) {
|
||||
user(query: {hasPokemon:$input}) {
|
||||
id
|
||||
@@ -96,7 +96,7 @@ func GetPokemonSiblings(
|
||||
) (*GetPokemonSiblingsResponse, error) {
|
||||
req := &graphql.Request{
|
||||
OpName: "GetPokemonSiblings",
|
||||
Query: GetPokemonSiblingsOperation,
|
||||
Query: GetPokemonSiblings_Operation,
|
||||
Variables: &__GetPokemonSiblingsInput{
|
||||
Input: input,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user