Skip to content

Commit

Permalink
Remove comment about ResolverMiddleware
Browse files Browse the repository at this point in the history
Not true anymore!
  • Loading branch information
Mathew Byrne committed Jul 24, 2018
1 parent b512176 commit 97f1318
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions handler/graphql.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@ func ErrorPresenter(f graphql.ErrorPresenterFunc) Option {

// ResolverMiddleware allows you to define a function that will be called around every resolver,
// useful for tracing and logging.
// It will only be called for user defined resolvers, any direct binding to models is assumed
// to cost nothing.
func ResolverMiddleware(middleware graphql.ResolverMiddleware) Option {
return func(cfg *Config) {
if cfg.resolverHook == nil {
Expand Down

0 comments on commit 97f1318

Please sign in to comment.