Skip to content

Direct ModuleConfig member access #471

Description

@opensdh

Would it be possible to have the members of the various ModuleConfig derived classes be public (as some but not all of them are already)?

It was apparently planned to have something beyond the ModuleConfig::set_property interface that would allow clients to directly assign to ModuleConfig members, although I'm not sure what is the significance of "weak linkage" here. I personally would be happy just being able to assign to the members directly (perhaps after downcasting the result of get_module_config), and it would be really nice to be able to construct new objects of these types just to have ordinary value semantics. (This last point is already technically possible.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions