Skip to content

Conversation

JoTiTu
Copy link
Contributor

@JoTiTu JoTiTu commented Aug 14, 2025

Short description of what this resolves:

  • Makes the meta property in the CredentialQuery mandatory in order to align with the VP1.0 spec.
  • Removes the nullability of the ID in the CredentialQuery

JoTiTu added 2 commits August 14, 2025 11:21
Signed-off-by: Johannes Tuerk <johannes.tuerk@lissi.id>
Signed-off-by: Johannes Tuerk <johannes.tuerk@lissi.id>
@JoTiTu JoTiTu requested a review from Dindexx August 14, 2025 09:25
Copy link
Contributor

@Dindexx Dindexx left a comment

Choose a reason for hiding this comment

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

Only one line

@@ -54,6 +55,12 @@ public static Validation<CredentialMetaQuery> FromJObject(JObject json)
return ValidationFun.Valid(value.Value.ToString());
})
.ToOption();

if (!(vcts.IsSome ^ doctype.IsSome))
Copy link
Contributor

Choose a reason for hiding this comment

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

Negation with XOR is hard to follow, but maybe its a skill issue on my side

Signed-off-by: Johannes Tuerk <johannes.tuerk@lissi.id>
@JoTiTu JoTiTu merged commit 262279f into main Aug 15, 2025
3 checks passed
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.

2 participants