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

Method ValidateAll

pkg/pb/base/v1/service.pb.validate.go:5783–5785  ·  view source on GitHub ↗

ValidateAll checks the field values on DataWriteRequest 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 DataWriteRequestMultiError, or nil if none found.

()

Source from the content-addressed store, hash-verified

5781// violated, the result is a list of violation errors wrapped in
5782// DataWriteRequestMultiError, or nil if none found.
5783func (m *DataWriteRequest) ValidateAll() error {
5784 return m.validate(true)
5785}
5786
5787func (m *DataWriteRequest) validate(all bool) error {
5788 if m == nil {

Callers

nothing calls this directly

Calls 1

validateMethod · 0.95

Tested by

no test coverage detected