Selecting any array value with DCQL
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 112
- Forks
- 38
- Avg merge
- 12d 19h
- Merged PRs (30d)
- 4
Description
Suppose we have a DCQL query with claims and without claim_sets. If a claims path pointer in that query contains null, then that selects all elements of an array. Combined with this sentence in Section 6.4.1:
If
claimsis present, butclaim_setsis absent, the Verifier requests all claims listed inclaims.
That seems to say that the wallet must send all array elements - if I interpret the word "listed" there correctly. (The word "selected" would be clearer in this case.)
I have two questions:
- Is that correct? Or is the wallet also allowed to disclose a subset of the array?
- If that is correct, does that mean there is no way for the verifier to say "I want any of the elements of the array"? For example, in this example supposing that the verifier wants any degree, doesn't care which one, and doesn't need all of them.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with Section 6.4.1 and the claims path pointer example linked in the issue, then compare the meanings of “listed” and “selected” when a path contains null. Done means the specification clearly answers whether wallets may disclose a subset and how a verifier requests any array element.
Written by the indexing model from the issue text.
Assessment
- Domain
- documentation
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100