-
Notifications
You must be signed in to change notification settings - Fork 83
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
Regexes are not supported in $all queries #190
Comments
Thanks for opening an issue. I interpret the above as saying that; regexes are supported when using the Unfortunately, this library is not implemented according to a spec, and such inconsistencies do exists. This is one of such that cannot be fix since doing so can break existing users depending on the behaviour. Also, it seems desirable that regexes work under I will add a section to the readme to document such differences in a future update. |
Hmmm no I am reporting that Regexes are NOT supported when using the |
The test in #189 is passing which suggest regexes are supported in Can you provide an example from MongoDB that would not work in |
Apologies but I can't see where the tests passed in that PR, I see a https://lgtm.com/projects/g/kofrasa/mingo/rev/pr-5c21c72550d61fb694e6053b90023e3910298c8d LGTM page but not where the tests are running. Locally, this test fails for me. |
My bad, I wrongly assumed the status checks also includes the unit test execution status. I should set that up sometime. I will mark this as a bug. Please feel free to send a PR. Will be very much appreciated. |
Thank you! I pushed a potential fix to my PR Added some additional tests, and they are passing fine. I'm not super familiar with this project so please LMK if this is not the right approach for the fix. |
It appears that RegExp are not supported in
$all
queries when using Mingo, but they are in MongoDBOpened a PR with a new test to show the issue: #189
The text was updated successfully, but these errors were encountered: