typesense-js icon indicating copy to clipboard operation
typesense-js copied to clipboard

feat: flatten only arrayble search params before search

Open tharropoulos opened this issue 1 year ago • 0 comments

Change Summary

Introduces a new utility function and types for only checking search parameters that can be either a base type, or an array of said type. Instead of checking through all of the possible parameters (more than 50), it instead iterates over a specific part (10), improving performance and ensuring maintainability, if non-search parameters should still retain their original array format in the future.

PR Checklist

tharropoulos avatar Jul 03 '24 10:07 tharropoulos