Skip to main content

generate_scoped_client

Function generate_scoped_client 

Source
fn generate_scoped_client(
    out: &mut String,
    service_name: &str,
    sc: &ScopedClient,
    ancestors: &[&ScopedClient],
    schema: &ParsedSchema,
    root_method_discriminator: u16,
)
Expand description

Generate a scoped client class (e.g., RepositoryClient).

ancestors tracks the scoped client chain from outermost to the parent of sc. The constructor receives ALL accumulated scope fields from ancestors + own. Methods call deterministic builder functions with the full scope chain.