Skip to main content

annotate_conflicts

Function annotate_conflicts 

Source
pub async fn annotate_conflicts(
    facts: &mut [ActivatedFact],
    tx: &mut DbTransaction<'_>,
) -> Result<(), MemoryError>
Expand description

Annotate retrieved ActivatedFacts with pending implicit conflict metadata.

Queries implicit_conflict_candidates for all edge IDs in facts and sets is_implicit_conflict = true and conflict_candidate_id on matches.

ยงErrors

Returns a MemoryError on database query failure.