Open
Description
In our project every relationship can be accessed from both nodes, which creates a lot of extra relationships in the graph that are actually the same relationships. Ideally the relationship should be represented by arrows on both sides, or no arrows, and connected to the correct property.
A problem with this is probably that there is no way to know this by just looking at the introspection. Just because there are multiple relationships between two nodes does not mean that they are the same. A solution to this could be to add it to the description in some way, like this:
type Book {
"""
The author. (connects to: books)
"""
writtenBy: Author!
}
type Author {
"""
Books the author has written. (connects to: writtenBy)
"""
books: [Book!]!
}
Metadata
Metadata
Assignees
Labels
No labels