wasm: Difference in handling virtual doc conflicts #2926
Closed
Description
For this test case: test/cases/testdata/baseandvirtualdocs/test-baseandvirtualdocs-0704.yaml
The expected behavior is that the evaluation can be performed and a result is found. For the Wasm generated policy we get a runtime error:
unexpected error: object merge conflict: internal error
The behavior seems to be that for a topdown evaluation it would use the base document value from the store, whereas the wasm implementation seems conflict with that when evaluating the result.
Metadata
Assignees
Type
Projects
Status
Done