This commit is contained in:
Tadgh 2021-08-10 20:56:54 -04:00
parent e311835e8d
commit 6f3006f2ba
1 changed files with 2 additions and 1 deletions

View File

@ -972,8 +972,9 @@ public abstract class BaseSearchParamExtractor implements ISearchParamExtractor
private boolean anySearchParameterUsesResolve(Collection<RuntimeSearchParam> searchParams, RestSearchParameterTypeEnum theSearchParamType) {
return searchParams.stream()
.filter(param -> param.getParamType() != theSearchParamType)
.map(RuntimeSearchParam::getPath)
.filter(Objects::nonNull)
.anyMatch(param -> param.getPath().contains("resolve"));
.anyMatch(path-> path.contains("resolve"));
}
/**