go-ethereum/vendor/github.com/graph-gophers/graphql-go/trace/validation_trace.go

18 lines
365 B
Go

package trace
import (
"github.com/graph-gophers/graphql-go/errors"
)
type TraceValidationFinishFunc = TraceQueryFinishFunc
type ValidationTracer interface {
TraceValidation() TraceValidationFinishFunc
}
type NoopValidationTracer struct{}
func (NoopValidationTracer) TraceValidation() TraceValidationFinishFunc {
return func(errs []*errors.QueryError) {}
}