Skip to content

CHR0080: A relation of a graph view must lead to a view

A relation member holds the view at the far end of the edge, or a collection of it. The rule reports a member marked with Follows<TEdge> whose type, or the item type of its collection, is not marked with ViewOf<TNode>. A node type is not a view.

Error

Declare a view for the far end of the relation, with ViewOf<TNode> naming the node at that end, and give the member that view type. Declare one view per place it is used, so each holds only what its consumer reads.