Skip to main content

validate_mount_config_shape

Function validate_mount_config_shape 

Source
pub fn validate_mount_config_shape(
    mount: &MemoryMountConfig,
) -> Result<(), String>
Expand description

Validation outcome for a single mount config entry.

Domain-level cross-validation (cross-org references, archived/deleted memories, capability-mount overlaps) happens at the server layer. This helper covers the structural checks we can perform without DB access so that capability validate_config and any clientside form validation share semantics.