mirror of
https://github.com/morluto/rea.git
synced 2026-11-22 14:35:45 +00:00
fix(evidence)!: validate native view parent predicates (#8451)
Reject native view sources whose predicate disagrees with the selected operation. Use the original predicate for existing Evidence; do not alter a record without recomputing its identity.
This commit is contained in:
1 parent
3842809c37
commit
53363166f0
41 files changed
+307
-10
No files matched your search
@@ -69,6 +69,7 @@ const capture = () => {
|
||||
return {
|
||||
report,
|
||||
parent: {
|
||||
predicateType: evidence.predicate_type,
|
||||
evidenceId: evidence.evidence_id,
|
||||
operation: evidence.operation,
|
||||
normalizedResult: report,
|
||||
@@ -126,6 +127,7 @@ it("uses qlog event headlines without promoting HTTP-shaped extensions", () => {
|
||||
);
|
||||
const preview = projectAnalysisView(
|
||||
{
|
||||
predicateType: evidence.predicate_type,
|
||||
evidenceId: evidence.evidence_id,
|
||||
operation: evidence.operation,
|
||||
normalizedResult: qlog,
|
||||
@@ -349,6 +351,7 @@ const nativePreview = (
|
||||
});
|
||||
const preview = projectAnalysisView(
|
||||
{
|
||||
predicateType: evidence.predicate_type,
|
||||
evidenceId: evidence.evidence_id,
|
||||
operation: evidence.operation,
|
||||
normalizedResult: report,
|
||||
|
||||
Reference in new issue
Block a user