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

refactor maybe_known.rs: MaybeKnown enum #842

Merged
merged 3 commits into from
May 15, 2023

Conversation

nachiketkanore
Copy link
Contributor

@codecov-commenter
Copy link

codecov-commenter commented May 13, 2023

Codecov Report

Merging #842 (7dade1e) into main (5ecad0a) will increase coverage by 0.00%.
The diff coverage is 25.00%.

@@           Coverage Diff           @@
##             main     #842   +/-   ##
=======================================
  Coverage   49.01%   49.01%           
=======================================
  Files         414      414           
  Lines       33694    33694           
  Branches     7445     7446    +1     
=======================================
+ Hits        16515    16516    +1     
  Misses      12062    12062           
+ Partials     5117     5116    -1     
Flag Coverage Δ
unittests-aries-vcx 48.98% <25.00%> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
aries_vcx/src/handlers/out_of_band/sender.rs 56.33% <ø> (ø)
...s_vcx/src/protocols/revocation_notification/mod.rs 0.00% <ø> (ø)
.../revocation_notification/receiver/state_machine.rs 0.00% <ø> (ø)
...ls/revocation_notification/sender/state_machine.rs 32.05% <ø> (ø)
messages/src/decorators/thread.rs 50.00% <ø> (ø)
messages/src/lib.rs 75.00% <ø> (ø)
...msg_fields/protocols/discover_features/disclose.rs 75.00% <ø> (ø)
.../src/msg_fields/protocols/discover_features/mod.rs 77.27% <ø> (ø)
...rc/msg_fields/protocols/discover_features/query.rs 71.42% <ø> (ø)
...src/msg_fields/protocols/out_of_band/invitation.rs 52.17% <ø> (ø)
... and 3 more

... and 1 file with indirect coverage changes

Copy link
Contributor

@bobozaur bobozaur left a comment

Choose a reason for hiding this comment

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

Great job! There are just some small nitpicks that I commented on, but overall looks good. Thank you for picking this up!

messages/src/maybe_known.rs Outdated Show resolved Hide resolved
shared_vcx/src/maybe_known.rs Outdated Show resolved Hide resolved
shared_vcx/src/maybe_known.rs Show resolved Hide resolved
@bobozaur
Copy link
Contributor

@nachiketkanore Did you merge main by any chance? If that's the case, we'd prefer if you rebased instead.

@nachiketkanore
Copy link
Contributor Author

Yes, I merged

@bobozaur
Copy link
Contributor

Yes, I merged

Would you be so kind to rebase instead?

@nachiketkanore
Copy link
Contributor Author

nachiketkanore commented May 15, 2023

Yes, I merged

Would you be so kind to rebase instead?

Sorry for not following the guidelines. I am new to this, will check and update accordingly!

UPD: I have rebased the main branch, let me know if there are any more issues. Thanks!

Signed-off-by: Nachiket Kanore <nachiket.kanore@gmail.com>
Signed-off-by: Nachiket Kanore <nachiket.kanore@gmail.com>
Signed-off-by: Nachiket Kanore <nachiket.kanore@gmail.com>
Copy link
Contributor

@bobozaur bobozaur left a comment

Choose a reason for hiding this comment

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

LGTM overall, though I'd find it awesome if you also used some custom type for the Unknown variant in the tests as well. But that can also be done sometime later and it's not really a dealbreaker.

Provided that the CI runs successfully, I'm okay with merging this.

@bobozaur
Copy link
Contributor

Yes, I merged

Would you be so kind to rebase instead?

Sorry for not following the guidelines. I am new to this, will check and update accordingly!

UPD: I have rebased the main branch, let me know if there are any more issues. Thanks!

It's all good, we all gotta start somewhere :).

@bobozaur bobozaur merged commit f1314ef into hyperledger:main May 15, 2023
39 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.

Move MaybeKnown enum to shared_vcx
3 participants