We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7ae2ce commit b6e9cd4Copy full SHA for b6e9cd4
interceptors/protovalidate/options.go
@@ -26,8 +26,11 @@ func evaluateOpts(opts []Option) *options {
26
return optCopy
27
}
28
29
-// WithIgnoreMessages sets the messages that should be ignored by the validator. Use with
30
-// caution and ensure validation is performed elsewhere.
+// WithIgnoreMessages sets the messages that should be ignored by the
+// validator. Message types are matched using their fully-qualified Protobuf
31
+// names.
32
+//
33
+// Use with caution and ensure validation is performed elsewhere.
34
func WithIgnoreMessages(msgs ...protoreflect.MessageType) Option {
35
names := make([]protoreflect.FullName, 0, len(msgs))
36
for _, msg := range msgs {
0 commit comments