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

Method Validate

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

Validate checks the field values on TupleToUserSet with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.

()

Source from the content-addressed store, hash-verified

2800// the proto definition for this message. If any rules are violated, the first
2801// error encountered is returned, or nil if there are no violations.
2802func (m *TupleToUserSet) Validate() error {
2803 return m.validate(false)
2804}
2805
2806// ValidateAll checks the field values on TupleToUserSet with the rules defined
2807// in the proto definition for this message. If any rules are violated, the

Callers

nothing calls this directly

Calls 1

validateMethod · 0.95

Tested by

no test coverage detected