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

Make ObjectRef more explicit in type #177

Merged
merged 2 commits into from
Apr 26, 2024
Merged

Make ObjectRef more explicit in type #177

merged 2 commits into from
Apr 26, 2024

Conversation

TTWNO
Copy link
Member

@TTWNO TTWNO commented Apr 18, 2024

Make ObjectRef more explicit in that the "name" refers to a zbus_names::BusName, and not just any String.

@TTWNO TTWNO mentioned this pull request Apr 18, 2024
5 tasks
atspi-common/src/cache.rs Outdated Show resolved Hide resolved
Copy link

codecov bot commented Apr 18, 2024

Codecov Report

Attention: Patch coverage is 98.75000% with 2 lines in your changes are missing coverage. Please review.

Project coverage is 84.14%. Comparing base (4f963a1) to head (318fced).

Files Patch % Lines
atspi-proxies/src/accessible.rs 0.00% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #177      +/-   ##
==========================================
+ Coverage   84.07%   84.14%   +0.07%     
==========================================
  Files          39       39              
  Lines        3083     3097      +14     
==========================================
+ Hits         2592     2606      +14     
  Misses        491      491              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Collaborator

@DataTriny DataTriny left a comment

Choose a reason for hiding this comment

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

Looks good to me! The amount of repetitive code here is quite annoying though...

@TTWNO
Copy link
Member Author

TTWNO commented Apr 18, 2024

Looks good to me! The amount of repetitive code here is quite annoying though...

Addressed by #179 , where GenericEvent is split up into smaller traits, which are much, much easier to implement via macro_rules! and blanket impls.

I've already requested a review from Luuk, but I'd appreciate a look from yourself as well.

@DataTriny
Copy link
Collaborator

Will try to do it tomorrow.

@TTWNO TTWNO merged commit 655be70 into main Apr 26, 2024
13 checks passed
@TTWNO TTWNO deleted the bus-name branch April 26, 2024 00:43
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