Skip to content

Commit

Permalink
remove 'foo' above resolver
Browse files Browse the repository at this point in the history
  • Loading branch information
mokeko committed Apr 29, 2023
1 parent 239b97e commit 6a38697
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion plugin/resolvergen/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ func (m *Plugin) generateSingleFile(data *codegen.Data) error {
continue
}

resolver := Resolver{o, f, nil, "// foo", `panic("not implemented")`}
resolver := Resolver{o, f, nil, "", `panic("not implemented")`}
file.Resolvers = append(file.Resolvers, &resolver)
}
}
Expand Down
2 changes: 0 additions & 2 deletions plugin/resolvergen/testdata/singlefile/out/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,10 @@ import (

type CustomResolverType struct{}

// // foo
func (r *queryCustomResolverType) Resolver(ctx context.Context) (*Resolver, error) {
panic("not implemented")
}

// // foo
func (r *resolverCustomResolverType) Name(ctx context.Context, obj *Resolver) (string, error) {
panic("not implemented")
}
Expand Down

0 comments on commit 6a38697

Please sign in to comment.