Skip to content

feat: support DCQL wildcard-aware values matching#313

Open
lukasjhan wants to merge 1 commit intoeu-digital-identity-wallet:mainfrom
lukasjhan:feat/dcql-null-match
Open

feat: support DCQL wildcard-aware values matching#313
lukasjhan wants to merge 1 commit intoeu-digital-identity-wallet:mainfrom
lukasjhan:feat/dcql-null-match

Conversation

@lukasjhan
Copy link

Summary

  • Changed claim values matching to support ClaimPath wildcard elements (allArrayElements)
  • Previously used exact ClaimPath dictionary lookup, which failed when the query path contained null wildcards
  • Now iterates stored paths and uses contains2 for wildcard-aware matching

Motivation

DCQL queries with null wildcard paths (e.g., ["nationality", null]) could not match against stored credential claim values because the dictionary lookup required exact path
equality.

Changes

  • DcqlQueryable.swift: replaced exact dictionary lookup with wildcard-aware path iteration using contains2

Dependencies

  • Requires eudi-lib-ios-openid4vp-swift with relaxed MsoMdoc path validation

@lukasjhan
Copy link
Author

@lukasjhan
Copy link
Author

Hi, I just found out elements of array are not decoded. So we need to implement that as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant