handle nested lists correctly

This commit is contained in:
Ben Kraft
2021-04-15 17:49:09 -07:00
parent e82a32f47a
commit 40fc7fdbc5
5 changed files with 45 additions and 2 deletions
+29
View File
@@ -0,0 +1,29 @@
package test
// Code generated by github.com/Khan/genqlient, DO NOT EDIT.
import (
"github.com/Khan/genqlient/graphql"
)
type ListOfListsOfListsResponse struct {
ListOfListsOfLists [][][]string `json:"listOfListsOfLists"`
}
func ListOfListsOfLists(
client graphql.Client,
) (*ListOfListsOfListsResponse, error) {
var retval ListOfListsOfListsResponse
err := client.MakeRequest(
nil,
"ListOfListsOfLists",
`
query ListOfListsOfLists {
listOfListsOfLists
}
`,
&retval,
nil,
)
return &retval, err
}