This message was deleted.
# community-help
s
This message was deleted.
k
Are you talking about the order of the params in the function?
j
The naming of them specifically
Actually, the order doesn't match other libraries either
The names do match other libraries though
All other libraries accept [searchRequests, commonSearchParams], which this one appears to be doing based on the names, but the types are swapped.
k
Yes
commonSearchParams
is misleading. It must be searchSpecificParams
j
I think the two argument names just need swapping, so
searchParams
becomes
commonSearchParams
and vice-versa.
The order won't match other languages then but it's a non-breaking change at least.
k
Changing the order will probably break existing clients, so I can change the name to make it clearer.
j
Yeah 👍 I can open a PR if you want?
k
Yes, please that would be great!
j
k
Merged! Thank you.
❤️ 1