Hey, I ran into a problem when using the following...
# give-feedback
p
Hey, I ran into a problem when using the following condition:
Copy code
{
  "$or": [
    {
      "userId": {
        "$type": "undefined"
      }
    },
    {
      "userId": null
    }
  ]
}
If the userId was defined, it would throw an error because of the second part. I am not sure this is intended behaviour since this is a valid MongoDB query
If you are okay with it, I could open a PR to support it