-
Notifications
You must be signed in to change notification settings - Fork 204
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(oob): allow to append attachments to invitations #926
feat(oob): allow to append attachments to invitations #926
Conversation
Signed-off-by: Ariel Gentile <[email protected]>
Codecov Report
@@ Coverage Diff @@
## main #926 +/- ##
==========================================
+ Coverage 87.70% 87.72% +0.02%
==========================================
Files 475 475
Lines 11339 11343 +4
Branches 1874 1875 +1
==========================================
+ Hits 9945 9951 +6
+ Misses 1327 1325 -2
Partials 67 67
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you think there's a lot of benefit in doing:
new ConnectionInvitationMessage({
appendedAttachments: [attachment]
})
over
const invitation = new ConnectionInvitationMessage({
appendedAttachments: []
})
invitation.appendedAttachments.push(attachment)
Or is there something else this will unlock?
Can you update the branch? |
You're right, not so much added value 😄. But in case But besides that, it's true that we can handle in |
Yeah no problem in adding it, just curious :) |
Adds an optional
appendedAttachments
field for OOB invitations (and legacy Connection Invitation messages) that allows to append attachments as per Aries RFC 0017.Signed-off-by: Ariel Gentile [email protected]