Skip to main content

commit

Function commit 

Source
pub async fn commit(
    state: &McpState,
    ctx: &RequestContext,
    view: &CourseView,
    after: CourseState,
    request: WriteRequest,
) -> Result<WriteReport, ToolError>
Expand description

Runs the pipeline from the user’s staged state to after: validate, find the written entities and stage them as one call, or on a dry run tell what staging them would do. Holds no pooled connection while the validator runs.