Closed olve closed 2 years ago
docs allow string arrays for SearchParams['query_by'], but provided typescript definitions don't.
SearchParams['query_by']
I'm not signing anything, but this would fix #120.
Unless i misunderstood entirely, and the query-field is supposed to contain pre-formatted strings eg. "['name', 'email']".
"['name', 'email']"
See here: https://github.com/typesense/typesense-js/issues/120#issuecomment-1142398318
docs allow string arrays for
SearchParams['query_by']
, but provided typescript definitions don't.I'm not signing anything, but this would fix #120.
Unless i misunderstood entirely, and the query-field is supposed to contain pre-formatted strings eg.
"['name', 'email']"
.