Skip to content

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

Merged
jsouthworth merged 1 commit intogodbus:masterfrom
ibazhitov:prop-introspect
Nov 12, 2021
Merged

prop: add the Prop.Introspection() method#279
jsouthworth merged 1 commit intogodbus:masterfrom
ibazhitov:prop-introspect

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