Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Add disclose claims to presentation record credential type SDJWT #1487

Merged
merged 5 commits into from
Jan 7, 2025

Conversation

mineme0110
Copy link
Contributor

@mineme0110 mineme0110 commented Jan 7, 2025

Description:

#1430

currently api does not display disclosed claim information. this endpoint to reveal disclosed claims for greater clarity
{{baseUrlVerifier}}/present-proof/presentations/{{VERIFIER_PRESENTATION_ID}}
This PR fixed the this issue

Alternatives Considered (optional):

Link to existing ADR (Architecture Decision Record), if any. If relevant, describe other approaches explored and the selected approach. Documenting why the methods were not selected will create a knowledge base for future reference, helping prevent others from revisiting less optimal ideas.

Checklist:

  • My PR follows the contribution guidelines of this project
  • My PR is free of third-party dependencies that don't comply with the Allowlist
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked the PR title to follow the conventional commit specification

@mineme0110 mineme0110 requested a review from a team as a code owner January 7, 2025 11:48
@mineme0110 mineme0110 changed the title Fix: Add disclose claims from sdjwt to presentation record fix: Add disclose claims from sdjwt to presentation record Jan 7, 2025
@mineme0110 mineme0110 changed the title fix: Add disclose claims from sdjwt to presentation record fix: Add disclose claims to presentation record credential type SDJWT Jan 7, 2025
Copy link
Contributor

github-actions bot commented Jan 7, 2025

Unit Test Results

104 files  +104  104 suites  +104   20m 48s ⏱️ + 20m 48s
882 tests +882  874 ✅ +874  8 💤 +8  0 ❌ ±0 
889 runs  +889  881 ✅ +881  8 💤 +8  0 ❌ ±0 

Results for commit 88185a6. ± Comparison against base commit 81350ea.

♻️ This comment has been updated with latest results.

Signed-off-by: mineme0110 <[email protected]>
Copy link
Contributor

github-actions bot commented Jan 7, 2025

Integration Test Results

20 files  ±0  20 suites  ±0   3s ⏱️ ±0s
55 tests ±0  55 ✅ ±0  0 💤 ±0  0 ❌ ±0 
97 runs  ±0  97 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 88185a6. ± Comparison against base commit 81350ea.

♻️ This comment has been updated with latest results.

_
) =>
ZIO.unit
case PresentationRecord(_, _, _, _, _, _, _, InvitationExpired, _, _, _, _, _, _, _, _, _, _, _, _, _, _) =>
case PresentationRecord(_, _, _, _, _, _, _, InvitationExpired, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _) =>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

omg, my famous pattern matching :)
Do we have a task to refactor it?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No we don't have

Signed-off-by: mineme0110 <[email protected]>
@mineme0110 mineme0110 merged commit 5e00556 into main Jan 7, 2025
14 checks passed
@mineme0110 mineme0110 deleted the fix-disclose-claims-sd-jwt branch January 7, 2025 16:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants