Files
genqlient/generate/testdata/snapshots/TestGenerate-ListOfListsOfLists.graphql-ListOfListsOfLists.graphql.go
Craig SilversteinandGitHub e3227388fe 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.
2022-11-22 14:12:38 -08:00

47 lines
1.0 KiB
Go

// Code generated by github.com/Khan/genqlient, DO NOT EDIT.
package test
import (
"github.com/Khan/genqlient/graphql"
)
// ListOfListsOfListsResponse is returned by ListOfListsOfLists on success.
type ListOfListsOfListsResponse struct {
ListOfListsOfLists [][][]string `json:"listOfListsOfLists"`
}
// GetListOfListsOfLists returns ListOfListsOfListsResponse.ListOfListsOfLists, and is useful for accessing the field via an interface.
func (v *ListOfListsOfListsResponse) GetListOfListsOfLists() [][][]string {
return v.ListOfListsOfLists
}
// The query or mutation executed by ListOfListsOfLists.
const ListOfListsOfLists_Operation = `
query ListOfListsOfLists {
listOfListsOfLists
}
`
func ListOfListsOfLists(
client graphql.Client,
) (*ListOfListsOfListsResponse, error) {
req := &graphql.Request{
OpName: "ListOfListsOfLists",
Query: ListOfListsOfLists_Operation,
}
var err error
var data ListOfListsOfListsResponse
resp := &graphql.Response{Data: &data}
err = client.MakeRequest(
nil,
req,
resp,
)
return &data, err
}