mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-12 10:57:35 +00:00
chore(deps): bump google.golang.org/grpc from 1.40.0 to 1.41.0 (#2427)
* chore(deps): bump google.golang.org/grpc from 1.40.0 to 1.41.0 Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go) from 1.40.0 to 1.41.0. - [Release notes](https://github.com/grpc/grpc-go/releases) - [Commits](https://github.com/grpc/grpc-go/compare/v1.40.0...v1.41.0) --- updated-dependencies: - dependency-name: google.golang.org/grpc dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> * validate * ensure import Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: adlerhurst <silvan.reusser@gmail.com> Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
@@ -6,8 +6,9 @@ import (
|
||||
"google.golang.org/grpc"
|
||||
"google.golang.org/grpc/codes"
|
||||
"google.golang.org/grpc/status"
|
||||
|
||||
_ "github.com/caos/zitadel/internal/statik"
|
||||
//import to make sure go.mod does not lose it
|
||||
//because dependency is only needed for generated code
|
||||
_ "github.com/envoyproxy/protoc-gen-validate/validate"
|
||||
)
|
||||
|
||||
func ValidationHandler() grpc.UnaryServerInterceptor {
|
||||
@@ -16,6 +17,8 @@ func ValidationHandler() grpc.UnaryServerInterceptor {
|
||||
}
|
||||
}
|
||||
|
||||
//validator interface needed for github.com/envoyproxy/protoc-gen-validate
|
||||
//(it does not expose an interface itself)
|
||||
type validator interface {
|
||||
Validate() error
|
||||
}
|
||||
|
Reference in New Issue
Block a user