We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 25fada6 + e03819b commit c910e05Copy full SHA for c910e05
internal/engines/entityFilter.go
@@ -124,6 +124,10 @@ func (engine *EntityFilter) attributeEntrance(
124
g *errgroup.Group, // An errgroup used for executing goroutines.
125
publisher *BulkEntityPublisher, // A custom publisher that publishes results in bulk.
126
) error { // Returns an error if one occurs during execution.
127
+ if request.GetEntrance().GetType() != entrance.TargetEntrance.GetType() {
128
+ return nil
129
+ }
130
+
131
if !visits.AddEA(entrance.TargetEntrance.GetType(), entrance.TargetEntrance.GetValue()) { // If the entity and relation has already been visited.
132
return nil
133
}
0 commit comments