You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// into SCHEMA_STORAGE.field_defaults (Priority 0 in process_default_functions)
119
111
}else{
120
112
// Slow path: full parsing (fallback for files not in ROUTE_STORAGE)
121
-
let file_ast = syn::parse_file(&content).map_err(|e| err_call_site(format!("vespera! macro: syntax error in '{}': {}. Fix the Rust syntax errors in this file.", file.display(), e)))?;
113
+
// Uses get_parsed_file: single syn::parse_file entry point + content cache
114
+
let file_ast = crate::schema_macro::file_cache::get_parsed_file(&file)
115
+
.ok_or_else(|| err_call_site(format!("vespera! macro: cannot read or parse '{}'. Fix the Rust syntax errors in this file.", file.display())))?;
0 commit comments