Skip to content

Commit

Permalink
fix: correct issue with deprecated api
Browse files Browse the repository at this point in the history
  • Loading branch information
1995parham committed Dec 16, 2024
1 parent e26b155 commit 85e7ac7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func main() {
}

{
srv := gHandler.NewDefaultServer(graph.NewExecutableSchema(resolver.New(ss)))
srv := gHandler.New(graph.NewExecutableSchema(resolver.New(ss)))
srv.AroundResponses(func(ctx context.Context, next graphql.ResponseHandler) *graphql.Response {
response := next(ctx)

Expand Down

0 comments on commit 85e7ac7

Please sign in to comment.