-
Notifications
You must be signed in to change notification settings - Fork 51
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
It's currently not possible to represent a variant value wrapped into another variant value. #282
Comments
The library has separate types for reading and writing variants ( For the The use-case for which these types don't work is when you read a variant from D-Bus and you want to send that value back over D-Bus. If this is not your use-case, you should update your code so it expects the |
No, the issue is for reading |
The type is meant for the use case of reading the value of a variant.
It's not uncommon for a variant to contain a dictionary of string to variant. I'm going to close this as the behavior is intentional. |
E. g. something like this:
It's read as
VariantValue
withVariantValueType.Int32
, however it's not possible to construct such variant object to pass it to dbus.The text was updated successfully, but these errors were encountered: