pub fn validate_key_name(key: &str) -> Result<(), ValidationError>Expand description
Validate a document key name.
Rules:
- Must not be empty.
- Must be 1–256 characters.
- Must match [a-zA-Z0-9_.-] (dots allowed for structured keys like “user.123”).
pub fn validate_key_name(key: &str) -> Result<(), ValidationError>Validate a document key name.
Rules: