Hey @tempire unfortunately a vector isn’t supported as an argument like this because it would conflict with the wider use of vectors as the representation for tuples (IIRC), but a set literal should work:
[(contains? #{“11111”} ?found-employee-id)]
Or you can create a hash-set in a separate clause and reference that using another logic var:
I’m a little confused as to the point of :in [[?employee-id ...]]
assuming in-json-args is passing in an array. Shouldn’t contains? be able to handle that?
It’s fine, unless ?employee-id is an empty array, in which case, the query stops executing at that point, presumably because set resolves to falsy. How can I assign a falsy result without stopping the query?