-
-
Notifications
You must be signed in to change notification settings - Fork 114
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
Add some quality-of-life gdbus helpers #1558
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swsnr
force-pushed
the
dbus-invocation-qol
branch
from
October 28, 2024 16:51
a490113
to
4c7e15f
Compare
swsnr
force-pushed
the
dbus-invocation-qol
branch
from
October 31, 2024 06:56
4c7e15f
to
7ebb847
Compare
swsnr
commented
Oct 31, 2024
swsnr
force-pushed
the
dbus-invocation-qol
branch
from
October 31, 2024 07:08
7ebb847
to
53076df
Compare
swsnr
force-pushed
the
dbus-invocation-qol
branch
2 times, most recently
from
October 31, 2024 19:58
c17799f
to
8dc90c6
Compare
Accidentally committed some left over change, I'll fix this tomorrow. |
swsnr
force-pushed
the
dbus-invocation-qol
branch
from
November 1, 2024 16:42
8dc90c6
to
ee24ad8
Compare
swsnr
force-pushed
the
dbus-invocation-qol
branch
2 times, most recently
from
November 1, 2024 17:06
4d89fbe
to
149f77c
Compare
@sdroege Pipeline passes now, but the question about the name still stands... should I rename the method? |
This trait represents a parsed method call with deserialized arguments, to abstract over call parsing. Then add new registration builder helpers to register method calls with a simplified callback which receives parsed arguments, and can optionally return an async result.
swsnr
force-pushed
the
dbus-invocation-qol
branch
from
November 2, 2024 06:13
8c9d142
to
7bb83b2
Compare
sdroege
approved these changes
Nov 2, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
bilelmoussaoui
approved these changes
Nov 2, 2024
bilelmoussaoui
added
the
needs-backport
PR needs backporting to the current stable branch
label
Nov 2, 2024
Thank you for reviewing and merging 🙏 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add a helper to return a standard result type from an invocation, automatically wrapping the return value into a tuple if it isn't a tuple yet.
Add another helper to return an async result from a future.
Update the gdbus example to demo the new async helper, and show how to simplify parameter handling with auto-derived variant structs.