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

feat: Add support to select multiple connections while sending proof request #1086

Open
wants to merge 6 commits into
base: develop-dco-fixed
Choose a base branch
from

Conversation

pranalidhanavade
Copy link
Contributor

What

  • Added support for multiple connections while sending proof request.
  • Done DTO changes for indy and jsonld.

Signed-off-by: pranalidhanavade <[email protected]>
@pranalidhanavade pranalidhanavade changed the title feat: support for multi-select connections while sending proof request feat: Add support to select multiple connections while sending proof request Dec 5, 2024
Signed-off-by: pranalidhanavade <[email protected]>
Signed-off-by: pranalidhanavade <[email protected]>
apps/api-gateway/src/verification/dto/request-proof.dto.ts Outdated Show resolved Hide resolved
apps/verification/src/interfaces/verification.interface.ts Outdated Show resolved Hide resolved
@@ -627,16 +648,15 @@ export class VerificationService {
p_value: parseInt(attribute.value),
restrictions: [
{
cred_def_id: proofRequestpayload.attributes[index].credDefId ? proofRequestpayload.attributes[index].credDefId : undefined,
schema_id: proofRequestpayload.attributes[index].schemaId
cred_def_id: proofRequestpayload?.proofFormats?.indy?.attributes[index].credDefId ? proofRequestpayload?.proofFormats?.indy?.attributes[index].credDefId : undefined,
Copy link
Contributor

Choose a reason for hiding this comment

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

in case the attributes[index].credDefId: undefined, does the proofrequest allow any credDef or does the credDef only needs to be undefined?

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 it doesn't allow credDef in this case attributes[index].credDefId: undefined.

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.

4 participants