topcoder-platform / expression-evaluator

This is a very simple version of a compiler expression evaluation. It can be used for parsing expressions without introducing the risk of script injection via `eval` method.
MIT License
0 stars 2 forks source link

operator 'contains' should find object inside the array which is a property of another object #3

Open maxceem opened 5 years ago

maxceem commented 5 years ago

When we search for an object inside object property it is always false and cannot find an object.

I've added one more test which is failing https://github.com/topcoder-platform/expression-evaluator/blob/dev/src/index.spec.js#L755-L758

image

vikasrohit commented 5 years ago

@maxceem do we need this support anywhere for our in flight tasks?

maxceem commented 5 years ago

We use some workaround in https://github.com/appirio-tech/tc-message-service/pull/100 for now so it's not critical at the moment.

vikasrohit commented 5 years ago

Okay, then please feel free to include it in next CF.