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

✨ zb,zm: Support SignalEmitter<'_> in property getters #1183

Merged
merged 3 commits into from
Dec 24, 2024

Conversation

rzvncj
Copy link
Contributor

@rzvncj rzvncj commented Dec 22, 2024

No description provided.

Copy link
Contributor

@zeenix zeenix left a comment

Choose a reason for hiding this comment

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

Awesome but I think we can simplify it to not touch Interface at all.

zbus/src/object_server/mod.rs Outdated Show resolved Hide resolved
zbus/src/object_server/node.rs Outdated Show resolved Hide resolved
This addresses a forgotten change from when SignalContext has been
renamed to SignalEmitter.
@rzvncj rzvncj force-pushed the add_emitter_to_getters branch from 8e4a9df to 03cf0e0 Compare December 23, 2024 12:37
@rzvncj rzvncj force-pushed the add_emitter_to_getters branch from 03cf0e0 to 28803ad Compare December 23, 2024 13:24
Copy link
Contributor

@zeenix zeenix left a comment

Choose a reason for hiding this comment

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

LGTM otherwise.

zbus_macros/src/iface.rs Outdated Show resolved Hide resolved
zbus_macros/src/iface.rs Show resolved Hide resolved
@rzvncj rzvncj force-pushed the add_emitter_to_getters branch 2 times, most recently from ea952d2 to c2fbd2b Compare December 24, 2024 13:31
Copy link
Contributor

@zeenix zeenix left a comment

Choose a reason for hiding this comment

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

Nice!

@zeenix zeenix merged commit 3d78c9c into dbus2:main Dec 24, 2024
7 checks passed
@rzvncj
Copy link
Contributor Author

rzvncj commented Dec 24, 2024

Nice!

Thanks for the prompt and helpful reviews! Contributing to zbus has been a very enjoyable experience.

@zeenix
Copy link
Contributor

zeenix commented Dec 24, 2024

Nice!

Thanks for the prompt and helpful reviews! Contributing to zbus has been a very enjoyable experience.

Haha, you just have a very healthy attitude. 👍 Many people get annoyed by my perfectionism and leave PRs hanging forever. 😭

@rzvncj rzvncj deleted the add_emitter_to_getters branch January 24, 2025 22:55
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