-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to work with the array #2
Comments
You'll have to write a custom filter for that. Here's an example for v>=1.3.7:
Then inject the class: Now you can send requests in the form:
Note I'm using the pipe character ( |
I will be closing this issue. If you think this does not fit your use case please let me know - I could put in the time for creating native enumerable search if required. |
Sorry for comment in closed issue but what about this feature - native enumerable search? |
Yeah I've ran into this issue. Will look more into this once I get some free time. |
This sound like a very important feature to me, did you had any time to work over this by chance ? |
A bit inclined to look at this, any issues with me submitting a PR if I manage? Any opinions? |
Ping @Biarity |
@maxstralin Sounds good, feel free to submit a PR. Unfortunately I'll be very busy in the coming days so unlikely to implement this myself in the near future. |
@maxstralin Any progress on this? |
@hasanmanzak Gave up on it back in the days of 2019 but got an urge now to get back to it when you pinged me. I have a dirty proof of concept in https://github.com/maxstralin/Sieve/tree/array-filtering, which would only allow for basic "contains" (case-sensitive) in an See |
I think we should discuss an API structure then start to work on it :) I just didn't want to dictate any structure I please. |
Feel free, if you want to take it then you can take it too haha ;) Anyhow, either you do it do a larger refactoring immediately, or you get a working variant up and running, then improve it. |
Hello,
How you can work with a array type filters.
&filters=LikeCount>10,Author==[Brad Pitt,Mel Gibson]
I am asking for a hint.
The text was updated successfully, but these errors were encountered: