Angular-QueryBuilder icon indicating copy to clipboard operation
Angular-QueryBuilder copied to clipboard

Work with JSON Logic?

Open joncorrin opened this issue 4 years ago • 0 comments

I like the QueryBuilder but we're worried about implementation. JSON Logix is a really good lib for condition evaluation. Do you guys have the query evaluation method similar to something like JSON logix or is there a way for me to produce JSON logix from QueryBuilder and evaluate it using the lib?

I saw you had a few things with FormControls like valid or invalid but Im looking more for like:

// Returns true or false
hide = (qbExpression: object) => {
  return QueryBuilder.evaluate(qbExpression);
}

joncorrin avatar Aug 27 '20 19:08 joncorrin