Skip to main content

execute_in_process

Function execute_in_process 

Source
pub async fn execute_in_process(
    schema: &KoanSchema,
    query: &str,
    variables: Option<Value>,
    role: Role,
) -> Value
Expand description

Execute a GraphQL query in-process (no HTTP round-trip).

There is no credential to check, so the caller states the role it wants the query executed at — see mcp::mcp_role.