Skip to content

misc: add default method impls#8

Open
SeaDve wants to merge 1 commit into
mainfrom
add-default-method-impl
Open

misc: add default method impls#8
SeaDve wants to merge 1 commit into
mainfrom
add-default-method-impl

Conversation

@SeaDve
Copy link
Copy Markdown
Owner

@SeaDve SeaDve commented Feb 14, 2024

Closes #6

This is actually not correct. We should not depend on the zbus::interface macro, and implement zbus::Interface on our own.

In implementing zbus::Interface::introspect_to_writer, check if the implementation of methods returns UnknownProperty, and only write that part if it returns Ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add sensible default method impl on traits and/or support optional properties

1 participant