-
Type: New Feature
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
JAVA-5308 added and support but potentially could extend this support to add infix operators to bson
Nabil commented in the Filters code review:
we can create an infix public infix fun Bson.and(value: Bson?): Bson = Filters.and(this, value) for (Person::name eq person.name) and Person::age.eq(person.age)
This would be useful and ergonomic, just need to determine what operators to add.