File tree Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Expand file tree Collapse file tree 1 file changed +0
-3
lines changed Original file line number Diff line number Diff line change 6
6
7
7
"github.com/graphql-go/graphql/language/ast"
8
8
"github.com/graphql-go/graphql/language/visitor"
9
- "github.com/kr/pretty"
10
9
"reflect"
11
10
)
12
11
@@ -435,7 +434,6 @@ var printDocASTReducer = map[string]visitor.VisitFunc{
435
434
436
435
// Type System Definitions
437
436
"SchemaDefinition" : func (p visitor.VisitFuncParams ) (string , interface {}) {
438
- pretty .Println ("===SchemaDefinitions" , p .Node )
439
437
switch node := p .Node .(type ) {
440
438
case * ast.SchemaDefinition :
441
439
operationTypesBlock := block (node .OperationTypes )
@@ -450,7 +448,6 @@ var printDocASTReducer = map[string]visitor.VisitFunc{
450
448
return visitor .ActionNoChange , nil
451
449
},
452
450
"OperationTypeDefinition" : func (p visitor.VisitFuncParams ) (string , interface {}) {
453
- pretty .Println ("===OperationTypeDefinition" , p .Node )
454
451
switch node := p .Node .(type ) {
455
452
case * ast.OperationTypeDefinition :
456
453
str := fmt .Sprintf ("%v: %v" , node .Operation , node .Type )
You can’t perform that action at this time.
0 commit comments