openid / openid/OpenID4VP

A DCQL feature to match elements in an array?

Open
#486 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Shell
Stars
112
Forks
38
Avg merge
12d 19h
Merged PRs (30d)
4

Description

In this commit I introduced the contains filter that can be used to check if an array contains one or more specified values. I later removed it again since it didn't seem to be a good fit for the scope of the PR.

However, having such a feature would allow to express certain queries that are impossible to express at the moment ("give me all nationalities if one of them is 'JP'").

This issue is for tracking if we still need a contains-like filter or not.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the removed contains filter in commit 77fc192 and the discussion in pull request 479. Start by determining whether the nationalities example requires this capability and whether it fits the project's scope. Done means reaching a decision on whether a contains-like filter is needed and defining its expected behavior if so.

Written by the indexing model from the issue text.

Assessment

Domain
authentication
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.