Skip to main content

sql_source_probes

Function sql_source_probes 

Source
pub fn sql_source_probes(schema: &CompiledSchema) -> Vec<SourceProbe>
Expand description

Build the work-list of database objects a compiled schema must be backed by.

Queries contribute a SourceKind::Relation probe (their sql_source view), mutations a SourceKind::Function probe (their sql_source, or operation table). Operations with no SQL source (federation / non-SQL) are skipped — they have nothing to probe. This is the single definition both the CLI existence gate (#485) and the server fail-fast boot check (#487) consume.