question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

dependencyOf relationship is one-sided in the UI

See original GitHub issue

Expected Behavior

  1. Specify a dependencyOf relationship indicating that component A is a dependency of component B.
  2. Visit component B in the UI.
  3. I expect the EntityDepdendsOnComponentsCard to list component A.

This behavior is what happens when I instead specify that component B dependsOn component A.

Current Behavior

Component A is not listed.

Possible solution

  1. Fix the code (😄 )

Steps to Reproduce

  1. Load this catalog-info file into Backstage.
  2. Ensure the EntityDepdendsOnComponentsCard is present in the UI
  3. Visit the passenger-backend service.

Here’s a video showing me reproducing the problem.

Context

I’m trying to indicate dependencies between components in Backstage.

Your Environment

I’m using latest master as of today to reproduce this.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:2
  • Comments:13 (8 by maintainers)

github_iconTop GitHub Comments

3reactions
andrewthauercommented, Jul 8, 2021

I fell into tree same trap actually. We have a shared db resource that I thought it would be quicker and easier to use dependencyOf instead of going to each component using it and saying dependsOn. I then realized it didn’t work the opposite way.

1reaction
gmambrocommented, Aug 10, 2021

I fell into tree same trap actually. We have a shared db resource that I thought it would be quicker and easier to use dependencyOf instead of going to each component using it and saying dependsOn. I then realized it didn’t work the opposite way.

+1

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Tell If You're In a One-Sided Relationship
A one-sided relationship involves an imbalance of commitment, energy, and effort. Learn how to tell if your relationship is one-sided and ...
Read more >
An Expert Explains the Psychology Behind a One-sided ...
Campbell explains that a one-sided relationship involves one person investing much more time and energy (and, in some cases, money) into the ...
Read more >
Do You Have a Codependent Personality? - Everyday Health
In a codependent relationship, there is usually one person who is more passive and can't make decisions for themselves, and a more dominant ......
Read more >
What does relationship owner means in bidirectional ...
Bidirectional relationships between managed entities will be persisted based on references held by the owning side of the relationship. It is ...
Read more >
5. Relationships : ArchiMate® 3.1 Specification
Dependency relationships, which model how elements are used to support other ... or realizing) concept (the “from” side of the relationship) is always...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found