2021-11-05 19:37:36 |
Simon Déziel |
description |
https://juju.is/docs/sdk/relations mentions:
> those under the `requires` keyword define services/interfaces that the charm consumes from
> others. Despite their name, requires relations are not always essential for the application
> to function - charm authors can indicate optionality in the metadata
This is confusing and the informational-only `optional` flag helps only marginally.
Optional relations could be listed under a `consumes` section to better convey that they are not required. |
https://juju.is/docs/sdk/relations mentions:
> those under the `requires` keyword define services/interfaces that the
> charm consumes from others. Despite their name, requires relations are
> not always essential for the application to function - charm authors
> can indicate optionality in the metadata
This is confusing and the informational-only `optional` flag helps only marginally.
Optional relations could be listed under a `consumes` section to better convey that they are not required. |
|