Skip to content
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

$elemMatch fails on undefined array #139

Closed
edqd opened this issue Apr 27, 2020 · 1 comment
Closed

$elemMatch fails on undefined array #139

edqd opened this issue Apr 27, 2020 · 1 comment

Comments

@edqd
Copy link

edqd commented Apr 27, 2020

Hello,
first of all, thanks for this great lib :)
since version 3.0.0, we are seeing an error being thrown on processing of $elemMatch when there is not array present, is this intended behavior? I didn't find anything on this in the release docs or any other issue on this subject hence I'm creating this one.
A simple example to demo the error: https://runkit.com/embed/xypukhcz8gg2

@kofrasa
Copy link
Owner

kofrasa commented Apr 27, 2020

Hi @edqd, thanks for reposting the issue. This is a regression and will be fix in a minor release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants