func newQtNode(objDef *ast.ObjectDefinition, varStore *varstore.VariableStore) *qtNode {
	return &qtNode{name: objDef.Name.Value, objDef: objDef, varStore: varStore}
}
newQtNode builds the root query tree node.
package client
import (
	"github.com/rgraphql/magellan/types"
	"github.com/rgraphql/magellan/types/gqlast"
	"github.com/rgraphql/magellan/varstore"
	"github.com/graphql-go/graphql/language/ast"
	proto "github.com/rgraphql/rgraphql"
)
type schemaLookup func(ast.Type) ast.TypeDefinition
type qtNode struct {
	id uint32
	name string
	objDef *ast.ObjectDefinition
	children []*qtNode
	args argsMap
	parent *qtNode
	varStore *varstore.VariableStore
	refCount uint32
	gcNext bool
	xmitted bool
}