MCPcopy Create free account
hub / github.com/Permify/permify / ValidateAll

Method ValidateAll

pkg/pb/base/v1/base.pb.validate.go:2810–2812  ·  view source on GitHub ↗

ValidateAll checks the field values on TupleToUserSet with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TupleToUserSetMultiError, or nil if none found.

()

Source from the content-addressed store, hash-verified

2808// result is a list of violation errors wrapped in TupleToUserSetMultiError,
2809// or nil if none found.
2810func (m *TupleToUserSet) ValidateAll() error {
2811 return m.validate(true)
2812}
2813
2814func (m *TupleToUserSet) validate(all bool) error {
2815 if m == nil {

Callers

nothing calls this directly

Calls 1

validateMethod · 0.95

Tested by

no test coverage detected