QueryRoot (queries/resolvers.rs)

moltis · crates/graphql/src/queries/resolvers.rs · rust · MIT
voice

! GraphQL query resolvers, organized by service namespace. ! ! Resolvers call domain services directly through the `Services` bundle — ! no RPC string-based dispatch or `ServiceCaller` indirection.

// Source: https://github.com/moltis-org/moltis | License: MIT | Copyright 2025 Fabien Penso
// Provided via justclaw.it.com; keep this notice with the code.
//! GraphQL query resolvers, organized by service namespace.
//!
//! Resolvers call domain services directly through the `Services` bundle —
//! no RPC string-based dispatch or `ServiceCaller` indirection.

use async_graphql::{Context, Object, Result};

use crate::{
    error::{from_service, from_service_json},
    scalars::Json,
    services,
    types::{
        AgentIdentity, BoolResult, ChannelInfo, ChannelSendersResult, ChatRawPrompt, CronJob,
        CronRunRecord, CronStatus, ExecApprovalConfig, ExecNodeConfig, HealthInfo, HeartbeatStatus,
        HookInfo, LocalSystemInfo, LogListResult, LogStatus, LogTailResult, McpServer, Mc

... (truncated -- full source via MCP)

See the full source, get the GitHub permalink, and search for more like it.

Get a free API key