You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I ran on a problem with playing with the search() methods: some of the API use search(filters, query), while the others use search(query, filters).
So doing generic wrappers around those functions are complicated (for example, if we want to paginate results, we have to identify the api before, to know on which array put the information).
For me, those 2 APIs should have their parameters in the other way, to be as everybody else:
But modifying this WILL break existing code. So I just give you this information, perhaps for a V2.
For now, I will make a workaround in my own code :)
Best regards,
The text was updated successfully, but these errors were encountered:
Hello,
I ran on a problem with playing with the
search()
methods: some of the API usesearch(filters, query)
, while the others usesearch(query, filters)
.So doing generic wrappers around those functions are complicated (for example, if we want to paginate results, we have to identify the api before, to know on which array put the information).
For me, those 2 APIs should have their parameters in the other way, to be as everybody else:
But modifying this WILL break existing code. So I just give you this information, perhaps for a V2.
For now, I will make a workaround in my own code :)
Best regards,
The text was updated successfully, but these errors were encountered: