Fix ensuring that record id matching detects correct edge id (#4827)

This commit is contained in:
Tobie Morgan Hitchcock 2024-09-19 10:36:44 +01:00 committed by GitHub
parent 19dc7a3ac7
commit bb8d4b41ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {