Hi.
A colleague tried to define a new component (service) and added the dependsOn to another service component. However this is ignored.
If he set service:name-of-service in the dependsOn property. His service is added to the catalog, but no dependency is created. When adding dependency without service: the entire entity is not added.
Is it by design that two components cannot have dependencies without an API relationship using consumesApi? Because if I look at the documentation it states it can have direct or indirect relationships.
A component can implement APIs for other components to consume. In turn it might consume APIs implemented by other components, or directly depend on components or resources that are attached to it at runtime.
https://backstage.io/docs/features/software-catalog/system-model#core-entities