---
cases:
  - data: {}
    modules:
      - |
        package generated

        p[[x, {"y": y}]] {
          x = 1
          y = 2
        }
    note: partialsetdoc/composite key
    query: data.generated.p = x
    sort_bindings: true
    want_result:
      - x:
          - - 1
            - "y": 2
