Skip to main content

default_queries_name

Function default_queries_name 

Source
pub fn default_queries_name(record: &Ident) -> Ident
Expand description

What a record’s QUERY UNIT is called: <Record>Queries, the type a root folds to serve this record’s root fields.

PLURAL, because the type is the trio rather than one query — and unprefixed, like every other emitted wire type, because it is visible vocabulary an application mounts. No rename word, for default_input_name’s reason: what a collision gets is the emitted-type rule’s refusal naming both.