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
It would be nice to provide a class like Meilisearch::FilterBuilder that converts Ruby hashes/arrays to Meilisearch filter expressions.
I already did that in one of my projects and it provides a huge added value. I just get the params from the request, build the hash, then pass it to the builder.
The question is, will you be open to upstream the implementation of my builder into the gem? Or should I extract the class to my own gem ?,? (Any naming suggestions in this case 😅)
Description
It would be nice to provide a class like
Meilisearch::FilterBuilder
that converts Ruby hashes/arrays to Meilisearch filter expressions.I already did that in one of my projects and it provides a huge added value. I just get the params from the request, build the hash, then pass it to the builder.
The question is, will you be open to upstream the implementation of my builder into the gem? Or should I extract the class to my own gem ?,? (Any naming suggestions in this case 😅)
Basic example
Example 1
Ruby object:
Meilisearch filter expressions:
Example 2
Ruby object:
Meilisearch filter expressions:
Example 3
Ruby object:
Meilisearch filter expressions:
Other
I have the implementation and the specs for it, but I'm not sure about publishing a PR to this gem, or extract it to my own gem.
The text was updated successfully, but these errors were encountered: