---
cases:
  - note: partialobjectdoc/same key/value pair
    query: data.generated.p = x
    modules:
      - |
        package generated

        p[k] := 1 if {
        	ks = ["a", "b", "c", "a"]
        	ks[_] = k
        }
    data: {}
    want_result:
      - x:
          a: 1
          b: 1
          c: 1
