---
cases:
  - note: "virtualdocs/input: complete object ground key"
    query: data.generated.p = x
    modules:
      - |
        package generated

        p contains x if {
        	z = ["b", "c"]
        	z[i] = y
        	data.generated.q[y] = x
        }

        q := {"a": 1, "b": 2, "c": 3, "d": 4}
    data: {}
    want_result:
      - x:
          - 2
          - 3
    sort_bindings: true
