You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 5, 2023. It is now read-only.
will not be properly resolved. Specifically, eq will not be transformed to $eq.
The issue seems to be because the code in the template mongoke/templates/resolvers_support.py that does not recurse through lists (only dictionaries). Something like shirouto/mongoke@f88a539 seems to fix it.
Hi there.
It appears the mongo operators are not properly instrumented when they appear inside arrays/lists. For example something like:
{and: [{field1: {eq: val1}}, {field2: {eq: val2}}]}will not be properly resolved. Specifically,
eqwill not be transformed to$eq.The issue seems to be because the code in the template
mongoke/templates/resolvers_support.pythat does not recurse through lists (only dictionaries). Something like shirouto/mongoke@f88a539 seems to fix it.Cheers