From 3ad30efb334c6d59862fa4a5847958b4ba98010e Mon Sep 17 00:00:00 2001 From: si-chakraborty Date: Tue, 2 Apr 2024 18:05:14 +0200 Subject: [PATCH] fix(graphql-cor):DomainEntitiesResolver class does not support values FacetFilterInput parameter --- .../graphql/resolvers/domain/DomainEntitiesResolver.java | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/resolvers/domain/DomainEntitiesResolver.java b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/resolvers/domain/DomainEntitiesResolver.java index 829b2f903833d4..5a3fb7c0add7b3 100644 --- a/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/resolvers/domain/DomainEntitiesResolver.java +++ b/datahub-graphql-core/src/main/java/com/linkedin/datahub/graphql/resolvers/domain/DomainEntitiesResolver.java @@ -77,10 +77,7 @@ public CompletableFuture get(final DataFetchingEnvironment enviro .getFilters() .forEach( filter -> { - criteria.add( - new Criterion() - .setField(filter.getField()) - .setValue(filter.getValue())); + criteria.add(criterionFromFilter(filter, true)); }); }