Skip to main content

lint_schema

Function lint_schema 

Source
pub fn lint_schema(
    schema: &SchemaGraph,
    sources: &[(PathBuf, String)],
) -> Vec<LintResult>
Expand description

Run all lint checks against a schema graph and its source files.

sources is a list of (file_path, file_content) pairs so we can report accurate line/column positions and detect SELECT * patterns.