From bb8d4b41ab530178073898e0a4e632d0fefcfbc2 Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Thu, 19 Sep 2024 10:36:44 +0100 Subject: [PATCH] Fix ensuring that record id matching detects correct edge id (#4827) --- core/src/doc/check.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/doc/check.rs b/core/src/doc/check.rs index 15eed29b..e10dca37 100644 --- a/core/src/doc/check.rs +++ b/core/src/doc/check.rs @@ -188,7 +188,7 @@ impl Document { // The out field is a match, so don't error Value::Thing(v) if v.eq(r) => (), // The out is a match, so don't error - v if l.id.is(&v) => (), + v if r.id.is(&v) => (), // The out field does not match v => { return Err(Error::OutMismatch {