Skip to main content

validate_schema_name

Function validate_schema_name 

Source
pub fn validate_schema_name(name: &str) -> Result<(), &'static str>
Expand description

Author-time access to the schema-name shape rule — the same check the loader runs on a manifest’s name:. Exposed so scaffolding tooling (memstead schema new) can refuse a bad name up front with the loader’s own reason string instead of a drifting copy of the grammar.