I’m not a Mongo expert, so my assumption is that new BasicDBObject(operator, expression.toString()) () interprets value as a single value adding quotes. So I have the something like the following as the result:
{“payloadType”: {
“$in”: “[
“com.my.package.MyEvent”,
“com.my.package.MyOtherEvent”
]”
}}
I’m going to dive into this one. If I remember correctly, the expectations you have of the “in” operator are correct. It’s probably a bug in the implementation.
please ignore the “small update.” message. I posted it one minute after the initial message just to include escaped quotes, but email seems to be delivered after you’ve updated the code.