Skip to content

wasm: Difference in handling virtual doc conflicts #2926

Closed
@patrick-east

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

No one assigned

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions