core icon indicating copy to clipboard operation
core copied to clipboard

feat(doctrine): add SearchFilter STRATEGY_PATTERN

Open erkia opened this issue 5 months ago • 1 comments

Q A
Branch? main
License MIT

Current ORM\SearchFilter is missing the search strategy that I need the most. There is no way to select a strategy that makes LIKE query without automatically adding wildcards. So far, the only solution has been to implement my own SearchFilter, which is annoying.

This PR adds a strategy, that will make LIKE query, but will let user decide, if and where to add wildcards.

erkia avatar Jul 21 '25 08:07 erkia

why not though adding a custom filter has become way easier since we introduced parameters, please add a test

soyuka avatar Aug 18 '25 13:08 soyuka