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

Method Validate

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

Validate checks the field values on DataWriteRequest 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

5773// in the proto definition for this message. If any rules are violated, the
5774// first error encountered is returned, or nil if there are no violations.
5775func (m *DataWriteRequest) Validate() error {
5776 return m.validate(false)
5777}
5778
5779// ValidateAll checks the field values on DataWriteRequest with the rules
5780// defined in the proto definition for this message. If any rules are

Callers

nothing calls this directly

Calls 1

validateMethod · 0.95

Tested by

no test coverage detected