Hello,
To implement some interface properties, I must have access to the connection that received the call in order to build the reply. Here is an example:
As stated in the macro documentation, property getters must not take any argument, and setters must only take the new value. It would be nice however, if arguments marked with #[zbus(...)] were allowed.
In GitLab by @DataTriny on Nov 1, 2021, 11:14
Hello, To implement some interface properties, I must have access to the connection that received the call in order to build the reply. Here is an example:
This is currently not allowed, and results in an error message:
As stated in the macro documentation, property getters must not take any argument, and setters must only take the new value. It would be nice however, if arguments marked with
#[zbus(...)]
were allowed.