Skip to content

Commit 32c4d8e

Browse files
committed
adding comment
1 parent e2dee52 commit 32c4d8e

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

hypertrace-graphql-entity-schema/src/main/java/org/hypertrace/graphql/entity/dao/EdgesDataFetcherImpl.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,13 @@ protected abstract EdgeResultSet getEdges(
2828

2929
@Override
3030
public CompletableFuture<EdgeResultSet> get(DataFetchingEnvironment environment) {
31+
// TODO: Edges when used with filters have two limitations for now
32+
// 1. We can only have one entityType incoming/outgoing edge
33+
// 2. If different filters for same entity type, filters will be merged into one AND filter.
34+
//
35+
// We are passing the empty filter as argument to query the edges.
36+
// This will work for now because we have restricted multiple edges selection in a request
37+
// Fix this when we will solve the above two limitations.
3138
return CompletableFuture.completedFuture(
3239
getEdges(
3340
environment.getSource(),

0 commit comments

Comments
 (0)