openfoodfacts / openfoodfacts-query

This extracts key product data from MongoDB into a Postgres database to speed up OFF
GNU Affero General Public License v3.0
0 stars 0 forks source link

Handle unknown queries and ignore other arrays in objects correctly #24

Closed john-gom closed 8 months ago

john-gom commented 8 months ago

What

Incorrectly attempts to run a query like this:

$in: ['1',[1,2]]

Steps to reproduce the behavior:

  1. Perform an unknown query from Product Opener

Expected behavior

Should handle "unknown" queries