Skip to main content

warning_settings

Function warning_settings 

Source
pub fn warning_settings<'db>(
    db: &'db dyn Db,
    config: ProjectConfig,
) -> Arc<WarningSettings>
Expand description

The project’s resolved warning settings, parsed from project.godot’s debug/gdscript/warnings/* (Workstream 1). Keyed on ProjectConfig alone (MEDIUM durability) and reads no .gd body, so editing a warning level invalidates only this query + the downstream gate, never analyze_file/item_tree/infer — the salsa-cacheability invariant the gating seam depends on (W1 §3.4/§6).