+
Skip to content

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 :)

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. :)

Copy link
Contributor

Choose a reason for hiding this comment

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

Oh I just realised something: we can add another method here, that does what we need and then have the existing method use that one.

I'm thinking of adding a more generic method though that interface impl can use directly..

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm thinking of adding a more generic method though that interface impl can use directly..

Ok, nm this part for now (#1361). However, I think a new method will help get around the API break.

I wrote this as I was thinking about z-galaxy#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

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载