opsmill / infrahub

Infrahub - A new approach to Infrastructure Management
https://opsmill.com/
GNU Affero General Public License v3.0
209 stars 17 forks source link

feature: Allow relationship attributes as display labels #4052

Open danischm opened 3 months ago

danischm commented 3 months ago

Component

No response

Describe the Feature Request

It seems currently only attributes can be specified as display labels in schemas. It would be great if also attributes of relationships of cardinality one would be supported, similar to human friendly identifiers (<relationshipname>__<attributename>__value). For example:

display_labels: ["parent__name__value"]

Describe the Use Case

In most cases you probably want to use the hfid as a display label as well, therefore both should have the same constraints.

Additional Information

No response

BeArchiTek commented 3 months ago

Similar to https://github.com/opsmill/infrahub/issues/3959