Skip to main content

handle_query_changes

Function handle_query_changes 

Source
pub async fn handle_query_changes<O: QueryObject, B: JmapBackend>(
    backend: &B,
    caller: &B::CallerCtx,
    args: Value,
) -> Result<(Value, Vec<Invocation>), JmapError>
Expand description

Generic */queryChanges handler (RFC 8620 §5.6).

Parses filter and sort from args, then delegates to JmapBackend::query_changes with collapse_threads: false. For Email/queryChanges (which may need collapseThreads: true), use the domain-specific handler in jmap-mail-server instead.