You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Export a union type of well known relations (RELATION_*) coming from @backstage/catalog-model
🎤 Context
I want to type my relation parameter to something more specific than a string. We currently import all relation constants from @backstage/catalog-model, create a union type, and then use that throughout our instance. Can @backstage/catalog-model provide something similar?
✌️ Possible Implementation
Export a new union type of all well known relations defined here.
🔖 Feature description
Export a union type of well known relations (RELATION_*) coming from
@backstage/catalog-model
🎤 Context
I want to type my
relation
parameter to something more specific than a string. We currently import all relation constants from@backstage/catalog-model
, create a union type, and then use that throughout our instance. Can@backstage/catalog-model
provide something similar?✌️ Possible Implementation
Export a new union type of all well known relations defined here.
👀 Have you spent some time to check if this feature request has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
Yes I am willing to submit a PR!
The text was updated successfully, but these errors were encountered: