kukeiko / entity-space

MIT License
5 stars 1 forks source link

why did I add OrCriteria.intersectBy()? #199

Closed kukeiko closed 2 months ago

kukeiko commented 1 year ago

I can't remember why I did it - I used it in NamedCriteria.intersect(), but as far as I can tell that was wrong. It was implemented during #184, which was a general "do various goodies" item. The lack of documentation there now bites me in the ass a bit.

kukeiko commented 2 months ago

probably similar reason to why there is (was) both subtractFrom() and minus() in criteria: sometimes one direction is more convenient than the other one, sometimes not