How to implement custom filters?

Currently, there is no way to implement custom filters. For example “starts with” and “end with” are very useful filters in some cases

Custom query building isn’t really an option because you probably just want to extend existing logic.

It seems that there is no workaround? What can we do?