Small refactors to http client and caching

This commit is contained in:
Brahim Hadriche committed 2023-11-19 19:05:46 -05:00
1 parent 61327401b0
commit 9ae8601a32
5 files changed
+22 -27

No files matched your search

@@ -220,11 +220,9 @@ function Search(text as string)
if IsString(value) and value.len() > 0
feedSource.queryParams[filter] = value
else if IsArray(value) and value.Count() > 0
' TODO:P1 this is http client implementation details leaking
' We need a declarative way to set array types
feedSource.queryParams[filter] = {
value: value,
__arrayType: HttpClient.QueryParamArrayType.CommaSeparated
arrayType: HttpClient.QueryParamArrayType.CommaSeparated
}
end if
end for