Skip to main content

make_resource

Function make_resource 

Source
pub fn make_resource(
    root: &Path,
    name: &str,
    definitions: &[String],
    frontend: bool,
) -> Result<Vec<PathBuf>>
Expand description

Generate application-owned CRUD, explicit contracts, migrations, tests and fixtures. Existing files are never overwritten. Registry changes commit together or roll back.