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

Don't require an owned value for property setters. #1189

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

emilio
Copy link
Contributor

@emilio emilio commented Dec 26, 2024

I wrote this as I was thinking about #1180, but not sure it's worth the complexity. If you think there are some other things that might use it, please go ahead and merge it, otherwise feel free to close :)

@@ -62,7 +62,7 @@ impl Properties {
&self,
interface_name: InterfaceName<'_>,
property_name: &str,
value: Value<'_>,
value: &Value<'_>,
Copy link
Contributor

Choose a reason for hiding this comment

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

Unfortunately, this will be a breaking change since this is a public API. :(

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hmm, ok, lmk if / how you want to deal with it and I can update the patch. Alternatively feel free to just close this (or tag it as deferred or whatever you want :))

Copy link
Contributor

Choose a reason for hiding this comment

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

I'll just tag it I guess. I hope you're around to rebase when 6.0 is being released. :)

I wrote this as I was thinking about dbus2#1180, but not sure it's worth the
complexity. If you think there are some other things that might use it,
please go ahead and merge it, otherwise feel free to close :)
@emilio
Copy link
Contributor Author

emilio commented Dec 27, 2024

I addressed the (somewhat pedantic) clippy lint :)

@zeenix zeenix added this to the zbus-6.0 milestone Jan 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants