aditya-gupta36 commented on code in PR #373: URL: https://github.com/apache/atlas/pull/373#discussion_r2137043122
########## webapp/src/main/java/org/apache/atlas/web/rest/DiscoveryREST.java: ########## @@ -892,27 +892,39 @@ private void validateSearchParameters(SearchParameters parameters) throws AtlasB private void validateEntityFilter(SearchParameters parameters) throws AtlasBaseException { FilterCriteria entityFilter = parameters.getEntityFilters(); + FilterCriteria tagFilter = parameters.getTagFilters(); - if (entityFilter == null) { - return; + if (entityFilter != null && tagFilter == null) { Review Comment: Okay, thanks for the review. Will update it. if (entityFilter != null) { validateNestedCriteria(entityFilter); } if (tagFilter != null) { validateNestedCriteria(tagFilter); } Done. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@atlas.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org