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 filter param to connection list for invitations #1797

Conversation

TheTechmage
Copy link
Contributor

As mentioned in #1789, there is no way to currently filter for connections/invited created via the OOB handler. This commit adds a filter query parameter to filter with the invitation message ID.

As mentioned in openwallet-foundation#1789, there is no way to currently filter for
connections/invited created via the OOB handler. This commit adds a
filter query param to filter off the invitation message ID.

Signed-off-by: Colton Wolkins (Indicio work address) <[email protected]>
@codecov-commenter
Copy link

Codecov Report

Merging #1797 (d460885) into main (00d97b3) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main    #1797   +/-   ##
=======================================
  Coverage   95.21%   95.21%           
=======================================
  Files         530      530           
  Lines       33235    33236    +1     
=======================================
+ Hits        31644    31645    +1     
  Misses       1591     1591           

@@ -205,6 +205,11 @@ class ConnectionsListQueryStringSchema(OpenAPISchema):
),
example=ConnRecord.Protocol.RFC_0160.aries_protocol,
)
invitation_msg_id = fields.UUID(
description="Identifier of the associated Invintation Mesage",
Copy link
Contributor

Choose a reason for hiding this comment

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

Typo: Invitation Message

@shaangill025
Copy link
Contributor

@frostyfrog I tested this and it is working. Based upon the description you provided in issue #1789, I think invitation_msg_id filter is the only one you had intended to add. If so, you can take this out of draft and I can approve it.

Signed-off-by: Colton Wolkins (Indicio work address) <[email protected]>
@TheTechmage TheTechmage marked this pull request as ready for review June 8, 2022 15:56
@TheTechmage
Copy link
Contributor Author

Yep! You're absolutely right. I just had it in draft because I wanted to make sure the black linting didn't error out on me before marking ready.

@swcurran swcurran merged commit 43c576b into openwallet-foundation:main Jun 8, 2022
@TheTechmage TheTechmage deleted the feature/invitation-connection-filter branch June 17, 2022 17:46
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.

Unable to filter for invitation from OOB invitations in multi-tenant environment
4 participants