Merge branch 'v3' into register
Some checks failed
lint / lint (pull_request) Failing after 9m10s
test / test (pull_request) Successful in 11m57s

This commit is contained in:
2024-12-27 01:25:45 +03:00
13 changed files with 120 additions and 302 deletions

View File

@@ -420,7 +420,7 @@ func (g *Server) processRequest(ctx context.Context, stream grpc.ServerStream, s
return err
}
g.opts.Hooks.EachNext(func(hook options.Hook) {
g.opts.Hooks.EachPrev(func(hook options.Hook) {
if h, ok := hook.(server.HookHandler); ok {
fn = h(fn)
}
@@ -504,7 +504,7 @@ func (g *Server) processStream(ctx context.Context, stream grpc.ServerStream, se
return nil
}
opts.Hooks.EachNext(func(hook options.Hook) {
opts.Hooks.EachPrev(func(hook options.Hook) {
if h, ok := hook.(server.HookHandler); ok {
fn = h(fn)
}