Skip to content

Commit

Permalink
lint backend and fix broken test due to mocks
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscollins3456 committed Dec 11, 2024
1 parent c4ea45e commit cb42873
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ public CompletableFuture<AggregateResults> get(DataFetchingEnvironment environme
final List<String> facets =
input.getFacets() != null && input.getFacets().size() > 0 ? input.getFacets() : null;

// do not include default facets if we're requesting any facets specifically
// do not include default facets if we're requesting any facets specifically
searchFlags.setIncludeDefaultFacets(facets == null || facets.size() <= 0);

List<String> finalEntities =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
import com.linkedin.metadata.query.filter.Filter;
import com.linkedin.metadata.query.filter.SortCriterion;
import com.linkedin.metadata.search.SearchResult;
import com.linkedin.metadata.service.FormService;
import com.linkedin.metadata.service.ViewService;
import com.linkedin.metadata.utils.CriterionUtils;
import com.linkedin.view.DataHubViewInfo;
Expand Down
2 changes: 1 addition & 1 deletion datahub-web-react/src/Mocks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3035,7 +3035,7 @@ export const mocks = [
],
},
],
searchFlags: { getSuggestions: true },
searchFlags: { getSuggestions: true, includeStructuredPropertyFacets: true },
},
},
},
Expand Down

0 comments on commit cb42873

Please sign in to comment.