Skip to content
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

prop: add the Prop.Introspection() method #279

Merged
merged 1 commit into from
Nov 12, 2021

Conversation

ibazhitov
Copy link
Contributor

Sometimes it is convenient to generate the introspection data for properties
before they are exported. For example, when the introspection data for an
object is gathered before the corresponding interfaces are exported.

Move the relevant pieces from Properties.Introspection() into the newly
created Prop.Introspection() method, which generates the introspection
data for the corresponding Prop instance using the provided property
name.

Sometimes it is convenient to generate the introspection data for properties
before they are exported. For example, when the introspection data for an
object is gathered before the corresponding interfaces are exported.

Move the relevant pieces from Properties.Introspection() into the newly
created Prop.Introspection() method, which generates the introspection
data for the corresponding Prop instance using the provided property
name.
@jsouthworth
Copy link
Member

Looks good, thanks!

@jsouthworth jsouthworth merged commit e92e1d8 into godbus:master Nov 12, 2021
@ibazhitov ibazhitov deleted the prop-introspect branch January 3, 2022 15:35
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.

2 participants