canonical / data-platform-libs

A collection of charm libraries curated by the Data Platform Team
https://charmhub.io/data-platform-libs
Apache License 2.0
10 stars 9 forks source link

[DESIGN] Evaluate if Relation Data could be split from Events, and if `charm` could be non-mandatory for Relation Data repesentation #139

Closed juditnovak closed 5 months ago

juditnovak commented 7 months ago

Following the Charm Structure Patterns spec, it would be excellent to offer the same functionalty (Relation Data abstraction, specific Event Handlers) in a way that those two could be handled separately (instantiated in separate modules, etc.)

At this point, it would be also useful to make the interfaces "independent" from the charm in a sense that we use framework, app, and unit instead.

All the above should be possible in a backwards compatible way -- which should be possible based on the current code.

github-actions[bot] commented 7 months ago

https://warthogs.atlassian.net/browse/DPE-3546